简体   繁体   中英

Simple PHP Chat using WebSocket

I tested the code from website https://phppot.com/php/simple-php-chat-using-websocket/ using MAMP and it all works fine on localhost. When i tried to use this code on linux VPS server, it doesn't work when i change localhost with static ip address of my server. Besides that my server is blocking ip address and i can't access server anymore. I checked php extension php72-php-sockets as well as Apache module mod_proxy_wstunnel and both are turned on. I hope you understand my question, i look forward to your answer

请与您的主机提供商联系,并告诉他们您的问题,他们会在身边解决。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM