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

Server doesn't work when accessed through the internet. #161

Open
farhanulju opened this issue Jul 26, 2024 · 1 comment
Open

Server doesn't work when accessed through the internet. #161

farhanulju opened this issue Jul 26, 2024 · 1 comment

Comments

@farhanulju
Copy link

farhanulju commented Jul 26, 2024

Server works fine on localhost.
But video/audio doesn't work when connected though 192.168.x.x:8080 or Public IP:[Port]

Website loads fine. Chat works too. Only Video/Audio doesn't work.
image

image

Using docker-compose desktop
image

Ports are correctly forwarded in Router.
It's most likely an issue with the Stun server. When it's on localhost, there is no need for the Stun server to work. Hence the connections work without it. However, when connected through a different NAT, the server stops working, as the Stun server doesn't connect the users properly.

@v5star
Copy link

v5star commented Aug 1, 2024

我也遇到这个问题了,只有localhost访问正常,其他都不行,包括手机、电脑,都不行。有解决办法吗?
电脑可以通过浏览器设置:chrome://flags/#unsafely-treat-insecure-origin-as-secure 白名单(把IP或域名添加后重启可以访问),手机就没办法设置。

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