[GH-ISSUE #5229] 服务端智能连接4个端口 #4062

Closed
opened 2026-05-05 14:34:24 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @JingJiangNT on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/fatedier/frp/issues/5229

Bug Description

frp中,c端端口在线正常,s端显示状态正常,对应的服务器防火墙也已经开放,内外192.168.1.10:8081可以访问,且同样的配置,其它服务端口可以正常访问和穿透,frp的客户端最大数量为10,服务数量不限,日志无报错,端口无冲突,ip和端口与内网实际配置一致,token一致,监听端口正确,为什么添加第五个穿透服务不能访问

frpc Version

0.67.0

frps Version

0.67.0

System Architecture

linux/amd64

Configurations

webServer.pprofEnable = false
transport.tcpMux = true
transport.useEncryption = true

tls

#transport.tls.certFile = "/etc/frp/ssl/client.crt"
#transport.tls.keyFile = "/etc/frp/ssl/client.key"
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"

proxies
name = "hgf" # 名称 :不能重复
type = "tcp" #协议:一般tcp
localIP = "172.0.0.1" #本地地址 可以不变
localPort = 8081 #本地端口,本地服务的端口
remotePort = 11111 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复
transport.poolCount = 10

proxies
name = "odoo" # 名称 :不能重复
type = "tcp" #协议:一般tcp
localIP = "127.0.0.1" #本地地址 可以不变
localPort = 8069 #本地端口,本地服务的端口
remotePort = 8069 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复

proxies
name = "1panel" # 名称 :不能重复
type = "tcp" #协议:一般tcp
localIP = "127.0.0.1" #本地地址 可以不变
localPort = 55555 #本地端口,本地服务的端口
remotePort = 55555 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复

proxies
name = "chandao" # 名称 :不能重复
type = "tcp" #协议:一般tcp
localIP = "192.168.1.10" #本地地址 可以不变
localPort = 8088 #本地端口,本地服务的端口
remotePort = 2000 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @JingJiangNT on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/fatedier/frp/issues/5229 ### Bug Description frp中,c端端口在线正常,s端显示状态正常,对应的服务器防火墙也已经开放,内外192.168.1.10:8081可以访问,且同样的配置,其它服务端口可以正常访问和穿透,frp的客户端最大数量为10,服务数量不限,日志无报错,端口无冲突,ip和端口与内网实际配置一致,token一致,监听端口正确,为什么添加第五个穿透服务不能访问 ### frpc Version 0.67.0 ### frps Version 0.67.0 ### System Architecture linux/amd64 ### Configurations webServer.pprofEnable = false transport.tcpMux = true transport.useEncryption = true # tls #transport.tls.certFile = "/etc/frp/ssl/client.crt" #transport.tls.keyFile = "/etc/frp/ssl/client.key" #transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt" [[proxies]] name = "hgf" # 名称 :不能重复 type = "tcp" #协议:一般tcp localIP = "172.0.0.1" #本地地址 可以不变 localPort = 8081 #本地端口,本地服务的端口 remotePort = 11111 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复 transport.poolCount = 10 [[proxies]] name = "odoo" # 名称 :不能重复 type = "tcp" #协议:一般tcp localIP = "127.0.0.1" #本地地址 可以不变 localPort = 8069 #本地端口,本地服务的端口 remotePort = 8069 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复 [[proxies]] name = "1panel" # 名称 :不能重复 type = "tcp" #协议:一般tcp localIP = "127.0.0.1" #本地地址 可以不变 localPort = 55555 #本地端口,本地服务的端口 remotePort = 55555 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复 [[proxies]] name = "chandao" # 名称 :不能重复 type = "tcp" #协议:一般tcp localIP = "192.168.1.10" #本地地址 可以不变 localPort = 8088 #本地端口,本地服务的端口 remotePort = 2000 #穿透过去的端口,服务器的端口,需要服务器开防火墙,① 控制台防火墙,② 1panel的防火墙:不能重复 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:34:24 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 25, 2026):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:4122409614 --> @github-actions[bot] commented on GitHub (Mar 25, 2026): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4062
No description provided.