mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3854] 客户端多个http服务代理到服务端不同端口中 #3062
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3062
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cccqcccq on GitHub (Dec 16, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3854
Describe the feature request
frpc
frps
我想实现将我本地两个http服务代理到公网中
我应该怎么实现访问1.1.1.1:3333时访问本地3333端口的服务
访问1.1.1.1:5555时访问本地5555端口的服务
目前3333端口可以使用,请教这有实现的可能吗,我尝试过在web2中添加以下方法
customDomains = ["1.1.1.1:5555"]remotePort = 5555但是都无法正常访问服务
Describe alternatives you've considered
No response
Affected area
@superzjg commented on GitHub (Dec 16, 2023):
把
type = "http"换成type = "tcp", 删除customDomains,分别配置不同的remotePort,然后frps防火墙开启对应的端口。@cccqcccq commented on GitHub (Dec 16, 2023):
感谢!我会尝试的