php-workerman-socket.io客户端连接报错net::ERR_TIMED_OUT

本地搭建的服务好好地,可以实现socket推送,但是服务器上还是出现报错

 

假如你的端口一切都正常,请看一下这篇文章:https://github.com/walkor/phpsocket.io/tree/master/docs/zh#nginx代理ssl

也就是增加一块nginx代理配置

希望能解决你的问题~

原文地址:https://www.cnblogs.com/wt645631686/p/9717921.html