Thanks to visit codestin.com
Credit goes to github.com

Skip to content

P2P存在的问题 #59

@xbins7210

Description

@xbins7210

在靶机上新增一条p2p连接,访问端运行相应命令,报错如下:
d:\local\npc>npc -server=www.domain.com:8024 -vkey=1b4ppfw3cnb3u06t -type=tcp -password=dfwefsdfewwerf -target=127.0.0.1:5244
2025/04/13 17:36:33.600 [I] [local.go:115] successful start-up of local tcp monitoring, port 2000
2025/04/13 17:36:34.600 [D] [local.go:141] 172.28.8.101:62123
2025/04/13 17:36:34.601 [N] [local.go:143] try to connect to the server 1
2025/04/13 17:36:34.919 [E] [control.go:364] write udp 172.28.8.101:62123->0.0.0.0:6000: wsasendto: The requested address is not valid in its context.
2025/04/13 17:36:34.920 [E] [local.go:207] write udp 172.28.8.101:62123->0.0.0.0:6000: wsasendto: The requested address is not valid in its context.
2025/04/13 17:36:34.921 [N] [local.go:143] try to connect to the server 2
2025/04/13 17:36:35.240 [E] [local.go:207] listen udp 172.28.8.101:62123: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

NPS侧配置p2p_ip为vps的公网IP,但访问者没有去连接正确的服务器地址,连接的0.0.0.0的6000端口。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions