Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket connection to 'ws://192.168.3.243:9000/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT #16

Open
follow-zy opened this issue Sep 1, 2021 · 1 comment

Comments

@follow-zy
Copy link

我仿照你这个写了一个差不多的 发现一些问题 ,
1:我电脑连公司wify情况下 ,起node服务,浏览器客户端聊天是没问题的,同事我在用手机4g网打开手机浏览器,手机跟我本机ip建立不上ws链接,
2:我用手机开wify热点,电脑连手机热点后,在电脑上起node服务后,用电脑打开浏览器也一直建立不上ws连接,客户端报错
WebSocket connection to 'ws://192.168.3.243:9000/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
:服务器连接出错
:index.html:149 服务器连接关闭

@follow-zy
Copy link
Author

公司wify是内网,但是为什么我手机开热点后,只在电脑上操作,不管怎么样都建立不上ws连接,一直抱错连接超时 ,node服务是正常启动了的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant