mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4789] 使用端口范围映射时,frps重启,frpc自动连接失败,不确定是否是端口范围太大造成 #3780
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#3780
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 @lockqueen on GitHub (May 6, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4789
Bug Description
端口范围映射内容如下:
frps重启时,frpc会出现:
只能手动重启frpc,然后就正常连接上了。
配置修改端口少一些,如下:
重启frps的时候,frpc就能自己重连上。。不确定是不是端口数量太多触发的问题。如果有端口数量限制,请问下是多少。。端口数量多的话,是不是要多用几个frpc,不能放在同一个frpc...
frpc Version
v0.61.2
frps Version
v0.61.2
System Architecture
linux/amd64
Configurations
{{- range $_, $v := parseNumberRangePair "7777,8014-8050,8114-8150,8887,8888,9100,9010-9031" "7777,8014-8050,8114-8150,8887,8888,9100,9010-9031" }}
proxies
name = "{{ $v.First }}-demo"
type = "tcp"
localIP = "192.168.0.122"
localPort = {{ $v.First }}
remotePort = {{ $v.Second }}
{{- end }}
Logs
No response
Steps to reproduce
...
Affected area
@lockqueen commented on GitHub (May 6, 2025):
额。。的确是,用两个frpc,把端口分开,就能满足端口开放需要了,貌似frpc的确有端口数量限制的样子。。
@jiangtaixing commented on GitHub (Sep 9, 2025):
这个问题修复了吗
@ratyzhang commented on GitHub (Sep 19, 2025):
也遇到同样的问题了