nps p2p can not connect

sy5wg1nm  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(87)
  • Log
021/09/05 14:08:49.618 [I] [local.go:115]  successful start-up of local tcp monitoring, port 2000
2021/09/05 14:08:50.622 [N] [local.go:142]  try to connect to the server 1
2021/09/05 14:08:51.278 [E] [control.go:310]  write udp 192.168.1.24:57014->0.0.0.0:8302: sendto: no route to host
2021/09/05 14:08:51.278 [E] [local.go:206]  write udp 192.168.1.24:57014->0.0.0.0:8302: sendto: no route to host
2021/09/05 14:08:51.278 [N] [local.go:142]  try to connect to the server 2
2021/09/05 14:08:51.905 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:51.905 [N] [local.go:142]  try to connect to the server 3
2021/09/05 14:08:52.536 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:52.536 [N] [local.go:142]  try to connect to the server 4
2021/09/05 14:08:53.157 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:53.157 [N] [local.go:142]  try to connect to the server 5
2021/09/05 14:08:53.768 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:53.768 [N] [local.go:142]  try to connect to the server 6
2021/09/05 14:08:54.410 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:54.410 [N] [local.go:142]  try to connect to the server 7
2021/09/05 14:08:55.065 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:55.065 [N] [local.go:142]  try to connect to the server 8
2021/09/05 14:08:55.687 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:55.687 [N] [local.go:142]  try to connect to the server 9
2021/09/05 14:08:56.324 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:56.325 [N] [local.go:142]  try to connect to the server 10
2021/09/05 14:08:56.968 [E] [local.go:206]  listen udp 192.168.1.24:57014: bind: address already in use
2021/09/05 14:08:56.969 [N] [local.go:142]  try to connect to the server 1
2021/09/05 14:08:57.621 [E] [control.go:310]  write udp 192.168.1.24:50622->0.0.0.0:8302: sendto: no route to host
2021/09/05 14:08:57.621 [E] [local.go:206]  write udp 192.168.1.24:50622->0.0.0.0:8302: sendto: no route to host
  • cmd
    ./npc -server=xxx -vkey=xxx -type=tcp -password=xxx -target=192.168.1.1

  • expect

  • can access 192.168.1.1 at localhost:2000

  • System

npc
Version: 0.26.10
Core version: 0.26.0
Same core version of client and server can connect each other

MacOS Bigsur 11.1.0
  • On my Linux server, it works well with the same cmd.
xfb7svmp

xfb7svmp1#

me too

2024/07/30 17:10:22.998 [I] [local.go:115]  successful start-up of local tcp monitoring, port 2000
2024/07/30 17:10:23.998 [N] [local.go:142]  try to connect to the server 1
2024/07/30 17:10:24.086 [E] [control.go:290]  strconv.Atoi: parsing "": invalid syntax
2024/07/30 17:10:24.086 [E] [control.go:310]  strconv.Atoi: parsing "": invalid syntax
2024/07/30 17:10:24.086 [E] [local.go:206]  strconv.Atoi: parsing "": invalid syntax
2024/07/30 17:10:24.086 [N] [local.go:142]  try to connect to the server 2
2024/07/30 17:10:24.129 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.129 [N] [local.go:142]  try to connect to the server 3
2024/07/30 17:10:24.176 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.176 [N] [local.go:142]  try to connect to the server 4
2024/07/30 17:10:24.225 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.225 [N] [local.go:142]  try to connect to the server 5
2024/07/30 17:10:24.300 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.301 [N] [local.go:142]  try to connect to the server 6
2024/07/30 17:10:24.347 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.347 [N] [local.go:142]  try to connect to the server 7
2024/07/30 17:10:24.406 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.406 [N] [local.go:142]  try to connect to the server 8
2024/07/30 17:10:24.513 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.513 [N] [local.go:142]  try to connect to the server 9
2024/07/30 17:10:24.562 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.562 [N] [local.go:142]  try to connect to the server 10
2024/07/30 17:10:24.610 [E] [local.go:206]  listen udp 192.168.118.137:63053: bind: address already in use
2024/07/30 17:10:24.998 [N] [local.go:142]  try to connect to the server 1
2024/07/30 17:10:25.058 [E] [control.go:290]  strconv.Atoi: parsing "": invalid syntax
2024/07/30 17:10:25.058 [E] [control.go:310]  strconv.Atoi: parsing "": invalid syntax
2024/07/30 17:10:25.058 [E] [local.go:206]  strconv.Atoi: parsing "": invalid syntax
2024/07/30 17:10:25.058 [N] [local.go:142]  try to connect to the server 2
2024/07/30 17:10:25.114 [E] [local.go:206]  listen udp 192.168.118.137:53976: bind: address already in use
2024/07/30 17:10:25.114 [N] [local.go:142]  try to connect to the server 3

相关问题