[GH-ISSUE #4619] 单一frps对应客户端只能开启一个? #3646

Closed
opened 2026-05-05 14:20:29 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @frankjoey2048 on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4619

Bug Description

如题,我的场景是这样的,frps只能开启一个端口,并且配置了http端口号。frpc处于不同子网,在一台机器上开启frpc映射http的nginx没问题;此时,在另一台机器上再次开启frpc映射http的nginx就会报错start error。

frpc Version

0.61.1

frps Version

0.61.1

System Architecture

linux/ams64

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 @frankjoey2048 on GitHub (Jan 3, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4619 ### Bug Description 如题,我的场景是这样的,frps只能开启一个端口,并且配置了http端口号。frpc处于不同子网,在一台机器上开启frpc映射http的nginx没问题;此时,在另一台机器上再次开启frpc映射http的nginx就会报错start error。 ### frpc Version 0.61.1 ### frps Version 0.61.1 ### System Architecture linux/ams64 ### Configurations 无 ### 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
Author
Owner

@superzjg commented on GitHub (Jan 4, 2025):

http / https 都只能一个啊
改用 tcp,然后配置不同的 远程端口 就好了。

<!-- gh-comment-id:2569998425 --> @superzjg commented on GitHub (Jan 4, 2025): http / https 都只能一个啊 改用 tcp,然后配置不同的 远程端口 就好了。
Author
Owner

@frankjoey2048 commented on GitHub (Jan 4, 2025):

可是我这里只能开一个对外暴露的端口

<!-- gh-comment-id:2571311646 --> @frankjoey2048 commented on GitHub (Jan 4, 2025): 可是我这里只能开一个对外暴露的端口
Author
Owner

@superzjg commented on GitHub (Jan 5, 2025):

可是我这里只能开一个对外暴露的端口

哦,我以为你说frps的功能问题不能用多端口。如果服务器管理员只给你开一个端口,那要想其它办法。或者考虑某种vpn方案,用一个端口接入内网,可以使用内网所有服务…

<!-- gh-comment-id:2571552314 --> @superzjg commented on GitHub (Jan 5, 2025): > 可是我这里只能开一个对外暴露的端口 哦,我以为你说frps的功能问题不能用多端口。如果服务器管理员只给你开一个端口,那要想其它办法。或者考虑某种vpn方案,用一个端口接入内网,可以使用内网所有服务…
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#3646
No description provided.