[GH-ISSUE #2274] set multi listen port for http & HTTPS #1809

Closed
opened 2026-05-05 13:10:02 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @Milokita on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2274

The solution you want

FRPS able to listen to multi ports for both HTTP & HTTPS
Alternatives considered

Set up an apache/nginx reverse proxy to listen to ports other than TCP 80 443
How to implement this function

Change how frps.ini interpreted, allowing config such as
vhost_https_port = 443,123
Application scenarios of this function

it will provide some flexibility for configuring proxy

Originally created by @Milokita on GitHub (Mar 3, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2274 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> **The solution you want** <!--A clear and concise description of the solution you want. --> FRPS able to listen to multi ports for both HTTP & HTTPS **Alternatives considered** <!--A clear and concise description of any alternative solutions or features you have considered. --> Set up an apache/nginx reverse proxy to listen to ports other than TCP 80 443 **How to implement this function** <!--Implementation steps for the solution you want. --> Change how frps.ini interpreted, allowing config such as `vhost_https_port = 443,123` **Application scenarios of this function** <!--Make a clear and concise description of the application scenario of the solution you want. --> it will provide some flexibility for configuring proxy
gitea-mirror 2026-05-05 13:10:02 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Apr 18, 2021):

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

<!-- gh-comment-id:821908463 --> @github-actions[bot] commented on GitHub (Apr 18, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Author
Owner

@jingmouren commented on GitHub (Apr 22, 2021):

这条有进展吗?
URL路由的方案,如果两个web的location项有相同的,会有冲突
如果每个web再对应不同的port,就解决了

<!-- gh-comment-id:824651260 --> @jingmouren commented on GitHub (Apr 22, 2021): 这条有进展吗? URL路由的方案,如果两个web的location项有相同的,会有冲突 如果每个web再对应不同的port,就解决了
Author
Owner

@fatedier commented on GitHub (Apr 22, 2021):

@jingmouren 你的需求更适合使用 TCP 类型的端口映射来解决。

<!-- gh-comment-id:824711888 --> @fatedier commented on GitHub (Apr 22, 2021): @jingmouren 你的需求更适合使用 TCP 类型的端口映射来解决。
Author
Owner

@Milokita commented on GitHub (Apr 23, 2021):

但是我记得如果对HTTPS使用 TCP转发浏览器是会报错的

Sincerely
XINGZ


From: fatedier @.>
Sent: Thursday, April 22, 2021 6:07:18 PM
To: fatedier/frp @.
>
Cc: ZHAO, Xing @.>; Author @.>
Subject: Re: [fatedier/frp] set multi listen port for http & HTTPS (#2274)

@jingmourenhttps://github.com/jingmouren 你的需求更适合使用 TCP 类型的端口映射来解决。


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/fatedier/frp/issues/2274#issuecomment-824711888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACETSDGX62RKIPMQRFJ36GDTJ7YNNANCNFSM4YRGFPLA.

<!-- gh-comment-id:825277474 --> @Milokita commented on GitHub (Apr 23, 2021): 但是我记得如果对HTTPS使用 TCP转发浏览器是会报错的 Sincerely XINGZ ________________________________ From: fatedier ***@***.***> Sent: Thursday, April 22, 2021 6:07:18 PM To: fatedier/frp ***@***.***> Cc: ZHAO, Xing ***@***.***>; Author ***@***.***> Subject: Re: [fatedier/frp] set multi listen port for http & HTTPS (#2274) @jingmouren<https://github.com/jingmouren> 你的需求更适合使用 TCP 类型的端口映射来解决。 ― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://github.com/fatedier/frp/issues/2274#issuecomment-824711888>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACETSDGX62RKIPMQRFJ36GDTJ7YNNANCNFSM4YRGFPLA>.
Author
Owner

@fatedier commented on GitHub (Apr 25, 2021):

@Milokita TCP 已经是比较底层的协议了,和应用层无关,如果报错,可以具体排查一下是哪方面的问题。

<!-- gh-comment-id:826338017 --> @fatedier commented on GitHub (Apr 25, 2021): @Milokita TCP 已经是比较底层的协议了,和应用层无关,如果报错,可以具体排查一下是哪方面的问题。
Author
Owner

@github-actions[bot] commented on GitHub (Jun 10, 2021):

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

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