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

PHP socket LAN cannot be accessed

WBOY
Release: 2023-03-01 20:24:01
Original
1570 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template