本帖最后由 madfrog 于 2023-3-18 16:55 编辑
请教各位大佬,
我的N1装了zerotier one,提示9993端口被占用,接下来不会处理了,曾经kill ZT后 再 启动ZT ,加入网络后能连上,但是重启N1后就连不上了.
麻烦大佬帮忙看看我们这属于什么情况,要怎么操作?谢谢,本人能力有限,这个问题高了我好久了
如下为一操作后操作过程中的提示
N1 Startup 里信息
50 /etc/init.d/S50zerotier.sh
portainer 里有显示container zerotier running
zerotier日志信息:
connect: Connection refused
connect: Connection refused connect: Connection timed out connect: Connection timed out
这个是SSH里的信息:
[root@phicomm-n1:~]# zerotier-one -d
[root@phicomm-n1:~]# zerotier-one: fatal error: cannot bind to local control interface port 9993
试了CSDN一个帖子的方法,但是没解决,帖子具体内容如下
安装完成后,输入zerotier-one -d启动服务.
如果出现以下报错:
$ zerotier-one: fatal error: cannot bind to local control interface port 9993
表示端口被占用,使用以下命令查看
netstat -lp | grep 9993-------楼主备注:这个命令可能不适用N1,没成功
如果9993被ZeroTier自己占用,则杀掉Zerotierkillall -9 zerotier-one.之后重启服务,直到启动成功.-------楼主备注:输入多次,直到出现:killall: zerotier-one: no process killed
启动完成后输入
sudo zerotier-cli join xxxxxxxxxxxxxxxx
————————————————
版权声明:本文为CSDN博主「Chirnyo」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明https://blog.csdn.net/adocir/article/details/125275444。
Usage: netstat [-ral] [-tuwx] [-en]--------楼主备注:输入netstat -lp | grep 9993 后N1跳出来的信息,这个命令不会用
Display networking information
-r Routing table
-a All sockets
-l Listening sockets
Else: connected sockets
-t TCP sockets
-u UDP sockets
-w Raw sockets
-x Unix sockets
Else: all socket types
-e Other/more information
-n Don't resolve names
9993的状态,看不懂。
[root@phicomm-n1:~]# netstat -l | grep 9993
tcp 0 0 192.168.1.201:9993 0.0.0.0:* LISTEN
tcp 0 0 172.17.0.1:9993 0.0.0.0:* LISTEN
tcp 0 0 localhost:9993 0.0.0.0:* LISTEN
tcp 0 0 ::1:9993 :::* LISTEN
|