mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2306] 36.0版本对端口的判断异常 #1830
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1830
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zsinba on GitHub (Mar 17, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2306
[REQUIRED] hat version of frp are you using
Version: 36.0
[REQUIRED] What operating system and processor architecture are you using
OS: Linux Ubuntu 20.04/ 群晖NAS DS1618+
CPU architecture:
Intel I7 10
Atom ??
[REQUIRED] description of errors
confile
log file
Steps to reproduce the issue
在NAS上面跑的是35.1版本的, 这个版本可以杀掉\重启等操作 .
刚编译了36.0版本的,尝试杀掉35.1后启动36.0 ,提示端口被占用. 我绑定是18080端口,这个在35.1下面一直正常的执行的,但是两样 的配置文件在36.0下面,提示端口被占用.

如下图所示的配置:
在Ubuntu20.04(这是Windows下面的WSL,安装的Ubuntu20.04: Linux SBIN-Laptop2021 4.4.0-19041-Microsoft #488-Microsoft Mon Sep 01 13:43:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux)下面,我编译,然后启动,提示我7000端口被占用,这个是一个新的Ubuntu20.04,没有跑其他的版本的FRPS, 查看7000端口并没有被程序使用,我使用的是frps_full.ini文件,没有修改。

截图如下图
Supplementary information
没有更多信息,直接跑即可得到结果 .
Can you guess what caused this issue
猜测在36.0里,判断端口是否被使用时出错的.
Checklist:
@zsinba commented on GitHub (Mar 17, 2021):
上面的两个环境,我都进行了确认, WSL的7000端口被占用提示,我确认Windows和WSL都没有使用7000端口.
上面提到的在NAS下面, 同样的配置,我启动35.1是可以正常启动,启动36.0的时候,就会提示18080端口被占用.
这是我的重启脚本:

@zsinba commented on GitHub (Mar 19, 2021):
请更新到主线上,重新发布36.1版本吧,不然现在的36版本不能用呀.