[GH-ISSUE #4977] Is there any way to disable bindPort(default 7000) #3924

Closed
opened 2026-05-05 14:30:05 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @colben on GitHub (Sep 11, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4977

Describe the feature request

The udp port(quicBindPort) is just enough for me, so how to disable listening the default tcp port(7000)?

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 @colben on GitHub (Sep 11, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4977 ### Describe the feature request The udp port(quicBindPort) is just enough for me, so how to disable listening the default tcp port(7000)? ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [x] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@laipeng668 commented on GitHub (Sep 13, 2025):

FRP requires at least one port to be set in order to start. Just switch to another port; no one will notice. Alternatively, use a firewall to directly block this port.

<!-- gh-comment-id:3288909297 --> @laipeng668 commented on GitHub (Sep 13, 2025): FRP requires at least one port to be set in order to start. Just switch to another port; no one will notice. Alternatively, use a firewall to directly block this port.
Author
Owner

@fatedier commented on GitHub (Sep 15, 2025):

I took a quick look at the code earlier. Since it involves port reuse, making the changes is fairly complex. By comparison, requiring it to listen on a single TCP port might not be that big of an issue?

<!-- gh-comment-id:3290347051 --> @fatedier commented on GitHub (Sep 15, 2025): I took a quick look at the code earlier. Since it involves port reuse, making the changes is fairly complex. By comparison, requiring it to listen on a single TCP port might not be that big of an issue?
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#3924
No description provided.