![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web socket
i-euan
这个作者很懒,什么都没留下…
展开
-
nginx配置ws反向代理
location /wss { proxy_pass http://127.0.0.1:8989;#代理到上面的地址去,proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header X-Real-IP $remote_addr; }...原创 2021-10-12 13:39:57 · 3638 阅读 · 0 评论 -
websoket连不上的问题
DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state首先检查地址是否正确如果做负载需要用ip访问还是连不上检查端口是否放行原创 2019-05-28 17:36:56 · 934 阅读 · 0 评论