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

服务端口被系统保留,是否修改系统保留端口 #14033

Open
djspys1 opened this issue May 23, 2024 · 3 comments
Open

服务端口被系统保留,是否修改系统保留端口 #14033

djspys1 opened this issue May 23, 2024 · 3 comments

Comments

@djspys1
Copy link

djspys1 commented May 23, 2024

image

系统: win11
version: 5.9.10

现象

xx-net启动时,出现该错误,尝试启动N次,会有一次幸运启动成功。

原因

这个错误是因为x-tunnel的1080端口正好在动态端口保留范围之内,将端口修改后修复。

建议

代码中检查了 web_console_port, smart_router_socks_port, smart_router_dns_port, x_tunnel_port,并且都设置了默认端口,是否可以将默认端口设为动态配置,将默认端口设置为系统保留端口范围之外的端口

@xxnet
Copy link
Contributor

xxnet commented May 25, 2024

如果修改了1080端口,浏览器代理插件配置会比较麻烦。
本来代理已经自带修改系统保留端口,是不是没有效果?

@djspys1
Copy link
Author

djspys1 commented May 25, 2024

效果不大,运气好几次可以成功,运气不好几十次才能成功一次

@xxnet
Copy link
Contributor

xxnet commented May 26, 2024

https://github.com/XX-net/XX-Net/wiki/X-Tunnel-Config-file

按这个文档操作可以修改1080端口

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants