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

Different default port on server & client side #6

Open
driver1748 opened this issue Dec 15, 2022 · 1 comment
Open

Different default port on server & client side #6

driver1748 opened this issue Dec 15, 2022 · 1 comment

Comments

@driver1748
Copy link

image

image

If ":8765" missing, the connection can't be established.

@Yunmoan
Copy link
Member

Yunmoan commented Dec 22, 2022

他是正常的,因为目前的websocket是直接从输入框中读取的服务器地址,所以需要带上端口来链接,也是为了防止出现问题。
如果您不希望看到端口号,可通过反向代理的方式将8765端口反代理到80,如果您使用的是wss可反代理到443

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