Php+websocket successfully tested locally, but not uploaded to the server, and the local local area network cannot be accessed.

the following is the complete code.
https://webyuan.gitee.io/page. Link description
Local connection to localhost is OK, and my tomcat cannot be started. The code is uploaded to the php space, but not on the remote virtual host. Errors are reported, and there are several different kinds of errors, mainly because they are directly closed without a successful connection. Remote virtual hosts only open ports 80 and 443; and why the local LAN cannot connect to socket,

Mar.24,2021
Menu