[GH-ISSUE #3989] 服务器的监听端口不能自定义? #3164

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

Originally created by @Matthew-Harris-36 on GitHub (Feb 13, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3989

Bug Description

我尝试把服务器监听端口从7000改成其它的,防火墙放行了这些端口,但是实测这些端口都不能正常访问。只有改回到7000才能正常运行,请问是不是源码就设定了只能运行在7000端口,如果是,能麻烦您改下源码吗?

frpc Version

0.54.0

frps Version

0.54.0

System Architecture

linux/amd64

Configurations

测试

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 @Matthew-Harris-36 on GitHub (Feb 13, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/3989 ### Bug Description 我尝试把服务器监听端口从7000改成其它的,防火墙放行了这些端口,但是实测这些端口都不能正常访问。只有改回到7000才能正常运行,请问是不是源码就设定了只能运行在7000端口,如果是,能麻烦您改下源码吗? ### frpc Version 0.54.0 ### frps Version 0.54.0 ### System Architecture linux/amd64 ### Configurations 测试 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:02:52 -06:00
Author
Owner

@superzjg commented on GitHub (Feb 17, 2024):

怎么可能?不生效肯定是配置文件格式写错了。
你不贴出来,靠大家猜!

<!-- gh-comment-id:1949642463 --> @superzjg commented on GitHub (Feb 17, 2024): 怎么可能?不生效肯定是配置文件格式写错了。 你不贴出来,靠大家猜!
Author
Owner

@github-actions[bot] commented on GitHub (Mar 10, 2024):

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

<!-- gh-comment-id:1987024570 --> @github-actions[bot] commented on GitHub (Mar 10, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d 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#3164
No description provided.