We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket Server在127.0.0.1的本地端可以正常運作,但是給予IP時就無法連線
撰寫Server Side時,無論是使用Socket, TcpListener, UdpClient 初始化IPEndPoint時請都使用IPAddress.Any 部分教學有看到IPAddress.Loopback的,會導致只有使用127.0.0.1才能正常接收
The text was updated successfully, but these errors were encountered:
No branches or pull requests
【問題說明】
Socket Server在127.0.0.1的本地端可以正常運作,但是給予IP時就無法連線
【解法】
撰寫Server Side時,無論是使用Socket, TcpListener, UdpClient
初始化IPEndPoint時請都使用IPAddress.Any
部分教學有看到IPAddress.Loopback的,會導致只有使用127.0.0.1才能正常接收
The text was updated successfully, but these errors were encountered: