添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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

Describe the bug

D:\Program Files\npc>"D:\Program Files\npc\npc.exe"
2020/11/17 09:52:48.110 [I] [npc.go:231] the version of client is 0.26.9, the core version of client is 0.26.0
2020/11/17 09:52:48.226 [I] [control.go:97] Loading configuration file D:\Program Files\npc\conf\npc.conf successfully
2020/11/17 09:52:48.905 [I] [local.go:74] start local file system, local path /Users/liuhe/Downloads, strip prefix /web/ ,remote port 19008
2020/11/17 09:52:48.934 [N] [control.go:176] web access login username:user password:1234
2020/11/17 09:52:48.935 [I] [local.go:115] successful start-up of local tcp monitoring, port 2002
2020/11/17 09:52:48.935 [I] [local.go:115] successful start-up of local tcp monitoring, port 2001
2020/11/17 09:52:49.146 [I] [client.go:72] Successful connection with server nps.???????.top:8024
2020/11/17 09:52:49.936 [N] [local.go:142] try to connect to the server 1
2020/11/17 09:52:50.186 [E] [control.go:290] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:50.334 [E] [control.go:310] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:50.224 [E] [control.go:290] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:50.610 [E] [control.go:310] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:50.523 [E] [client.go:126] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:50.749 [E] [local.go:206] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:50.750 [N] [local.go:142] try to connect to the server 2
2020/11/17 09:52:51.005 [E] [control.go:290] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:51.086 [E] [control.go:310] strconv.Atoi: parsing "": invalid syntax
2020/11/17 09:52:51.021 [E] [local.go:206] listen udp 192.168.2.12:59891: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2020/11/17 09:52:51.106 [N] [local.go:142] try to connect to the server 3
2020/11/17 09:52:51.106 [E] [client.go:126] strconv.Atoi: parsing "": invalid syntax

To Reproduce
Steps to reproduce the behavior:

  • Opening '...'
  • Click on '....'
  • See error
  • 服务器端曾经装过旧版本

    Expected behavior
    A clear and concise description of what you expected to happen.

    Screenshots or logs
    Add screenshots or logs to help explain your problem.

    Server (please complete the following information):

  • OS: Ubuntu 18.04.4 LTS
  • ARCH: Amd64
  • Tunnel
  • Version 0.26.9
  • Client (please complete the following information):

  • OS: Windows10
  • ARCH: Amd64
  • Tunnel
  • Version 0.26.9
  • Additional context
    客户端语法错误

    模式客户端 去链接服务器端 8023和8022端口 但是实际服务器端并没有监听 这两个端口 。
    这是什么情况

    tcp6 0 0 :::8024 :::* LISTEN 26916/nps
    tcp6 0 0 :::443 :::* LISTEN 26916/nps
    tcp6 0 0 :::80 :::* LISTEN 26916/nps
    tcp6 0 0 :::8080 :::* LISTEN 26916/nps

    后连接的提示
    2020/12/01 10:47:35.098 [I] [control.go:102] Reconnecting...
    2020/12/01 10:47:40.331 [E] [control.go:146] The server returned an error, which port or host may have been occupied or not allowed to open. c.o.com
    2020/12/01 10:47:40.332 [I] [control.go:102] Reconnecting...

    Only one usage of each socket address (protocol/network address/port) is normally permitted.