mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #102] frp http能否绑定多个端口 #46
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#46
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 @biless on GitHub (Aug 29, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/102
vhost_http_port = 8080
在配置中这样就绑定了8080端口
但是在我的应用中 我希望不同的web配置绑定不同的端口
@biless commented on GitHub (Aug 29, 2016):
@fatedier
@fatedier commented on GitHub (Aug 29, 2016):
那直接使用 tcp 的代理类型就可以了,vhost_http_port 是用于根据不同的域名来路由到不同的后端服务。
@biless commented on GitHub (Aug 29, 2016):
@fatedier 搜嘎 我试试
@openmynet commented on GitHub (Aug 30, 2016):
@biless frp+nginx 可以完美解决你的问题
@biless commented on GitHub (Aug 30, 2016):
@openmynet 利用tcp代理就可以 达到要求了
@biless commented on GitHub (Aug 30, 2016):
@fatedier 麻烦大大 可以关闭了~
@51xpage commented on GitHub (Jan 19, 2019):
如何绑定多个端口呢,现在用tcp只能绑定一个,已经可以sql server转发进来了,想弄个3389的转发,不知道咋配置,试了几种方案都不行。
1、
[tcp]
vhost_tcp_port = 8433
[tcp]
vhost_tcp_port = 9389
2、
[tcp]
vhost_tcp_port = 8433
[my]
vhost_tcp_port = 9389
3、
[tcp]
vhost_tcp_port = 8433
[tcp1]
vhost_3389_port = 9389 @fatedier
多谢