ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
30.31k stars 5.47k forks source link

p2p can not connect #868

Open HsunGong opened 3 years ago

HsunGong commented 3 years ago
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

MacOS Bigsur 11.1.0



- On my Linux server, it works well with the same cmd.
maoyutofu commented 1 month ago

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