[GH-ISSUE #5047] [Feature Request] 连接数超过两位,使用ssh访问内网就会出现频繁重连。 #3970

Closed
opened 2026-05-05 14:31:35 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @watchgou on GitHub (Nov 6, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5047

Describe the feature request

内网服务是连接移动服务网络,frp server部署在腾讯云上海机房,并在同一地区使用联通服务网络访问内网,连接数快超过10 (包括http连接,数据库连接...),使用ssh连接内网服务出现频繁重连;

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @watchgou on GitHub (Nov 6, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5047 ### Describe the feature request 内网服务是连接移动服务网络,frp server部署在腾讯云上海机房,并在同一地区使用联通服务网络访问内网,连接数快超过10 (包括http连接,数据库连接...),使用ssh连接内网服务出现频繁重连; ### Describe alternatives you've considered _No response_ ### 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:31:35 -06:00
Author
Owner

@watchgou commented on GitHub (Nov 6, 2025):

Image
<!-- gh-comment-id:3494656916 --> @watchgou commented on GitHub (Nov 6, 2025): <img width="1030" height="400" alt="Image" src="https://github.com/user-attachments/assets/bd0e811f-9c18-41c3-8063-b0e8a628531b" />
Author
Owner

@yangjieshao commented on GitHub (Nov 6, 2025):

试试 启用端口复用呢
frps.toml

transport.tcpMux = true
<!-- gh-comment-id:3494663346 --> @yangjieshao commented on GitHub (Nov 6, 2025): 试试 启用端口复用呢 frps.toml ``` transport.tcpMux = true ```
Author
Owner

@watchgou commented on GitHub (Nov 6, 2025):

ok

<!-- gh-comment-id:3495167673 --> @watchgou commented on GitHub (Nov 6, 2025): ok
Author
Owner

@ckdavid233 commented on GitHub (Nov 13, 2025):

请问您使用端口复用能解决吗?我之前一个客户端里面设置了120多个连接数,当时用的版本是0.45,也是会经常出现断线的问题。我当时是把它拆分成多个客户端配置文件,拆解成多个客户端服务来启动就稳定得多。我想咨询一下新版本是否已经能完全解决这样的问题了?

<!-- gh-comment-id:3525690974 --> @ckdavid233 commented on GitHub (Nov 13, 2025): 请问您使用端口复用能解决吗?我之前一个客户端里面设置了120多个连接数,当时用的版本是0.45,也是会经常出现断线的问题。我当时是把它拆分成多个客户端配置文件,拆解成多个客户端服务来启动就稳定得多。我想咨询一下新版本是否已经能完全解决这样的问题了?
Author
Owner

@github-actions[bot] commented on GitHub (Nov 28, 2025):

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

<!-- gh-comment-id:3587596283 --> @github-actions[bot] commented on GitHub (Nov 28, 2025): 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#3970
No description provided.