EasyTier icon indicating copy to clipboard operation
EasyTier copied to clipboard

[bug] anyhow error: failed to listen on tcp://0.0.0.0:11010

Open EnderQIU opened this issue 8 months ago • 3 comments

描述问题 / Describe the bug

Windows ARM64 24H2版本上使用EasyTier-GUI,无论使用公共服务器还是手动方式,都会提示以下信息: Image 另外一台Windows x64 24H2使用相同的配置,功能正常

重现步骤 / Reproduction

No response

预期结果 / Expected behavior

No response

额外上下文 / Additional context

No response

EnderQIU avatar May 04 '25 16:05 EnderQIU

netstat -ano | findstr 11010,无回显,说明并非端口被占用所致

EnderQIU avatar May 05 '25 01:05 EnderQIU

接入另一个WiFi问题消失,再观察一下。

EnderQIU avatar May 05 '25 01:05 EnderQIU

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 avatar May 14 '25 16:05 bmullan

@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来关闭,然后再次运行你的命令试试。

实际上我发现在安装完成后会有相应的提示信息,但因为英语不是我的母语被我下意识忽略了。

XuRainbow avatar Jun 01 '25 15:06 XuRainbow

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.

bmullan avatar Jun 03 '25 21:06 bmullan