[GH-ISSUE #2252] FRPC 提示 port not allowed #1789

Closed
opened 2026-05-05 13:09:26 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @xukecheng on GitHub (Feb 22, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2252

Version: 0.34.3

OS: Openwrt
CPU architecture: ARMv8

[REQUIRED] description of errors

confile
image

log file
2021/02/22 14:23:39 [I] [proxy_manager.go:144] [543191d03372e531] proxy added: [download tcp]
2021/02/22 14:23:39 [W] [control.go:178] [543191d03372e531] [download tcp] start error: port not allowed

Steps to reproduce the issue

  1. 想转发局域网内的 BT 下载上传监听端口到服务器
  2. 设置了服务器的 65117 端口和本地的 65117 转发,但是 FRPC 报错,FRPS 没有 Log 提示
  3. 尝试了其他的 TCP 端口转发是正常的,比如说 22
Originally created by @xukecheng on GitHub (Feb 22, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2252 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> Version: 0.34.3 OS: Openwrt CPU architecture: ARMv8 **[REQUIRED] description of errors** **confile** ![image](https://user-images.githubusercontent.com/29099863/108670231-802d0b80-7519-11eb-8941-5c05b3d400ed.png) **log file** 2021/02/22 14:23:39 [I] [proxy_manager.go:144] [543191d03372e531] proxy added: [download tcp] 2021/02/22 14:23:39 [W] [control.go:178] [543191d03372e531] [download tcp] start error: port not allowed **Steps to reproduce the issue** 1. 想转发局域网内的 BT 下载上传监听端口到服务器 2. 设置了服务器的 65117 端口和本地的 65117 转发,但是 FRPC 报错,FRPS 没有 Log 提示 3. 尝试了其他的 TCP 端口转发是正常的,比如说 22
Author
Owner

@yuyulei commented on GitHub (Feb 23, 2021):

@xukecheng, can you check the remotePort if has been used?

<!-- gh-comment-id:783931463 --> @yuyulei commented on GitHub (Feb 23, 2021): @xukecheng, can you check the remotePort if has been used?
Author
Owner

@xukecheng commented on GitHub (Feb 23, 2021):

@yuyulei No, it is available. And I has used NPS, it work well.

<!-- gh-comment-id:784008832 --> @xukecheng commented on GitHub (Feb 23, 2021): @yuyulei No, it is available. And I has used NPS, it work well.
Author
Owner

@Lakr233 commented on GitHub (Oct 14, 2021):

可以考虑检查一下服务器端配置。。。我犯傻了

allow_ports = 50000-60000

<!-- gh-comment-id:943278234 --> @Lakr233 commented on GitHub (Oct 14, 2021): 可以考虑检查一下服务器端配置。。。我犯傻了 `allow_ports = 50000-60000`
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#1789
No description provided.