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

无法加入网络 #58

Closed
wll8 opened this issue Mar 6, 2023 · 2 comments
Closed

无法加入网络 #58

wll8 opened this issue Mar 6, 2023 · 2 comments

Comments

@wll8
Copy link

wll8 commented Mar 6, 2023

  • 服务器已开启所有端口

  • 服务器 docker 已运行

>docker ps
CONTAINER ID   IMAGE             COMMAND                  CREATED          STATUS          PORTS                                                                                                                             NAMES
9a5ddcaee3de   zerotier-planet   "/bin/sh -c '/bin/sh…"   38 minutes ago   Up 38 minutes   0.0.0.0:3443->3443/tcp, :::3443->3443/tcp, 0.0.0.0:9994->9994/tcp, :::9994->9994/tcp, 0.0.0.0:9994->9994/udp, :::9994->9994/udp   zerotier-planet
  • 成功生成 /tmp/planet 文件
  • 已把文件替换到 C:\ProgramData\ZeroTier\One 并重启服务
  • 尝试加入网络报错
>zerotier-cli.bat join 03c420ea3831c507
0 join connection failed
  • 运行 zerotier-cli.bat peers 显示如下
>zerotier-cli.bat peers
Error connecting to the ZeroTier service: timed out

Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.

猜想是不是 planet 不生效? 为什么显示 127.0.0.1:9993 ? 而不是服务器的 9993(其实服务器我设置的端口是 9994)?

@xubiaolin
Copy link
Owner

xubiaolin commented May 3, 2023

不是planet的问题,是你电脑上的zerotier服务没有启动。重启下电脑即可

@xubiaolin
Copy link
Owner

客户机的zerotier端口就是9993, 服务器的zerotier才是9994, 两者之间没有任何联系

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