c++ - web 端口80 81 等等都可以开连接 exe端口却打不开
伊谢尔伦
伊谢尔伦 2017-04-17 13:31:46
0
1
639

web端口开80以外端口都可以打开
exe 运行创建socket监听监听不了 44000 换其他端口也不行 是要设置还是
防火墙也关闭了

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
大家讲道理

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/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!