[bug] anyhow error: failed to listen on tcp://0.0.0.0:11010
描述问题 / Describe the bug
Windows ARM64 24H2版本上使用EasyTier-GUI,无论使用公共服务器还是手动方式,都会提示以下信息:
另外一台Windows x64 24H2使用相同的配置,功能正常
重现步骤 / Reproduction
No response
预期结果 / Expected behavior
No response
额外上下文 / Additional context
No response
netstat -ano | findstr 11010,无回显,说明并非端口被占用所致
接入另一个WiFi问题消失,再观察一下。
Ubuntu 24.04
I just started to try to install Easytier Inetalled using the 1 liner for debian/ubuntu
wget -O /tmp/easytier.sh "https://raw.githubusercontent.com/EasyTier/EasyTier/main/script/install.sh" && bash /tmp/easytier.sh \ install
The install finishes and I execute:
$ sudo easytier-gui -w myuserID
The app starts up and I configure everything but when I click on Run Network thenI get the error
anyhow error: failed to listen on tcp://0.0.0.0:11010 Caused by: 0: failed to listen on tcp://0.0.0.0:11010 1: io error 2: Address already in use (os error 98)
The same error you are.
@bmullan 我在Ubuntu 24.04.1 LTS中遇到了和你一样的情况,我使用的安装命令是:
wget -O /tmp/easytier.sh "https://raw.githubusercontent.com/EasyTier/EasyTier/main/script/install.sh" && bash /tmp/easytier.sh install
当我使用文档中的命令sudo easytier-core -i 10.144.144.1时提示如下错误。
error: launcher error: anyhow error: failed to listen on tcp://0.0.0.0:11010
Caused by:
0: failed to listen on tcp://0.0.0.0:11010
1: io error
2: Address in use (os error 98)
我检查端口使用情况,发现easytier-core已经启动并且监听了11010,11011,11012端口,因此我怀疑安装脚本在安装时就已经启动了easytier-core。
我检查了install.sh脚本,发现在安装后脚本使用systemd运行了easytier-core,同时在使用/opt/easytier/config/default.conf配置文件来启动。
因此如果你不希望使用systemd来运行easytier-core的话可以尝试使用命令systemctl stop easytier@default来关闭,然后再次运行你的命令试试。
实际上我发现在安装完成后会有相应的提示信息,但因为英语不是我的母语被我下意识忽略了。
Thank you so much for your reply. At least we have google translate that lets us understand.
I'll try again and try your suggestion. I'll let you know what I learn.