yisier / nps

在 0.26.10 版本的基础上修改而来的
https://ehang.io/nps/documents
GNU General Public License v3.0
1.84k stars 223 forks source link

各位大哥大姐,使用“无配置文件模式”,报错bind: cannot assign requested address #100

Open leiziyeah opened 1 year ago

leiziyeah commented 1 year ago

问题描述 nps配置文件模式,TCP隧道穿透正常。但使用“无配置文件模式”,即使用唯一验证密钥方式访问,日志显示服务器及客户端显示连接成功“Successful connection with server”,但是无法完成tcp隧道穿透。仔细看了下服务器日志发现如下错误: clientId 6 taskId 12 start error listen tcp 14.101.127.79:60964: bind: cannot assign requested address nps日志 2023/06/20 20:12:52.017 [I] [server.go:201] tunnel task start mode Ztcp port 60964 2023/06/20 20:12:52.017 [I] [server.go:201] tunnel task start mode ZhttpHostServer port 0 2023/06/20 20:12:52.017 [I] [connection.go:71] web management start, access port is 8811 2023/06/20 20:12:52.074 [E] [server.go:206] clientId 6 taskId 12 start error listen tcp 14.191.147.79:60964: bind: cannot assign requested address

感谢大神赐教,愁了一天了 如何解决这个错误?请赐教。防火墙各种端口已开