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

在局域网部署了您的服务端代码,Android端如何修改才能使用 #1

Closed
lyl15151865258 opened this issue Jan 9, 2019 · 1 comment

Comments

@lyl15151865258
Copy link

大佬您好,我在局域网部署好了您提供的服务端代码,并且关闭了服务端电脑的防火墙,在浏览器中能正常视频,但是我在Android代码中把signal = "wss://47.254.34.146/wss";这里面的ip地址换成我的服务器内网ip(192.168.2.102),并且Android手机也连入了同一个局域网,却不能连接,由于我是内网使用,所以并没有部署turnserver,Android端日志显示websocket连接异常,具体的错误是java.net.ConnectException: failed to connect to /192.168.2.102 (port 443) after 90000ms: isConnected failed: EHOSTUNREACH (No route to host),您能给我点指导吗?

@lyl15151865258
Copy link
Author

已解决,注释SSL验证部分

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