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

域名连接失败 #23

Open
LuXiaoQiang opened this issue Jan 19, 2019 · 5 comments
Open

域名连接失败 #23

LuXiaoQiang opened this issue Jan 19, 2019 · 5 comments

Comments

@LuXiaoQiang
Copy link

之前本地测试的时候是ip连接,可以正常了解,现在发布外网,连接的是域名地址,连接失败,这个需要怎么配置支持吗?

@YeautyYE
Copy link
Owner

不需要特殊的配置,host用默认的"0.0.0.0"即可
请问后端报什么错,或者是前端出现怎样的信息

@LuXiaoQiang
Copy link
Author

failed: Error during WebSocket handshake: Unexpected response code: 200,会报这个错误。

@YeautyYE
Copy link
Owner

你连的不是用这个框架写的后台吧

@LuXiaoQiang
Copy link
Author

是这个框架的

@YeautyYE
Copy link
Owner

麻烦把前后端代码贴出来,我们看下

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

2 participants