Home  >  Article  >  Backend Development  >  PHP socket LAN cannot be accessed

PHP socket LAN cannot be accessed

WBOY
WBOYOriginal
2016-12-01 00:56:171560browse

I wrote a socket in php, and there is no problem accessing it from the same PC. But if I put the server code in another PC on the LAN, I cannot access it. I have tried many times

PHP socket LAN cannot be accessed

I captured the packet and looked at it. The packet has been sent to this machine, but the PHP SERVER shows that it has not been received

Reply content:

I wrote a socket in php, and there is no problem accessing it from the same PC. But if I put the server code in another PC on the LAN, I cannot access it. I have tried many times

PHP socket LAN cannot be accessed

I captured the packet and looked at it. The packet has been sent to this machine, but the PHP SERVER shows that it has not been received

Forgot to turn off the Japanese firewall

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn