web端口开80以外端口都可以打开
exe 运行创建socket监听监听不了 44000 换其他端口也不行 是要设置还是
防火墙也关闭了
大家讲道理2017-04-17 13:33:46
First of all, the amount of information provided by the questioner is too small for me to judge the problem. It is best to give the code and operating environment, but I can give you two tips:
1. Windows is in application When the program listens to a non-loopback port, a firewall prompt will pop up. If you click No without paying attention, there will be no prompt in the future, and the listening port will fail silently. Only deleting the firewall rule or renaming the file will be useful.
2. If you are making HTTP requests through http.sys, such as HttpClient, and listening to a non-loopback address, you need administrator rights to run it.
If it is indeed http.sys and you don’t want to run it with administrator privileges, you can download this tool and add the port you want to monitor:
http://httpsysmanager.codeplex.com/