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

客户端用局域网链接不成功 #16

Closed
chenke1115 opened this issue Mar 17, 2023 · 7 comments
Closed

客户端用局域网链接不成功 #16

chenke1115 opened this issue Mar 17, 2023 · 7 comments

Comments

@chenke1115
Copy link

image
局域网链接不成功
image
切换本地可以链接成功

@rogerogers
Copy link

可以看下你server端listen的配置,是不是只配置了localhost,局域网需要配置0.0.0.0:8091,或者:8091

@chenke1115
Copy link
Author

肯定不会犯这种低级失误呀😂

@Duslia
Copy link
Contributor

Duslia commented Mar 17, 2023

emmm 你可以 ping 一下,测试一下能不能通。

@chenke1115
Copy link
Author

emmm 这个跟框架关系不大吧,你可以 ping 一下,测试一下能不能通。

通的,API接口都可以正常访问,ws就是找不到啥原因链接不上,代码逻辑什么的没有改变,文档也找不到相关的配置参数会影响到的

@rogerogers
Copy link

用代码访问ws通吗,你这个网页我试了下感觉并不支持本地网络。

@chenke1115
Copy link
Author

支持

我自己链接是通的,目前是前端同事没办法链接上,感觉是跟这个工具一样的情况
image

@rogerogers
Copy link

那这个肯定是网络原因了,跟框架没啥关系,ping or nc or telnet看下吧。

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

3 participants