mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2567] [vhost_http_port][vhost_https_port]如果这样配置 80,81,82是不生效,不知道为什么 #2042
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#2042
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 @luozongcong on GitHub (Sep 5, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2567
Bug Description
1、关于这参数配置可以配多个端口
[vhost_http_port] [vhost_https_port]最多只能配置2个端口
如果这样配置 80,81,82是不生效,不知道为什么
2、关于这参数配置可以配多个域名
或者
frpc Version
0.37.1
frps Version
0.37.1
System Architecture
linux/amd64 + windows/amd64
Configurations
....
vhost_http_port= 80, 81, 82
vhost_https_port= 443
....
custom_domains = 我的域名1.com
custom_domains = 我的域名2.com
....
Logs
No response
Steps to reproduce
...
Affected area
@luozongcong commented on GitHub (Sep 5, 2021):
前提1:windows server 2012 r2 datacenter 或windows 10 21H 环境下【frp_0.37.1_windows_amd64】 下的frps.exe启动成功,启动frps,exe正常
结果1:但是如果启动frpc,exe连接就会异常 vhost_http_port is not set
前提2:如果是用【frp_0.37.1_linux_amd64】frps则正常
结果2:启动frpc,exe正常
配置如下:
frps.ini
frpc.ini
@luozongcong commented on GitHub (Sep 5, 2021):
如果配置
vhost_http_port= 80, 81, 82
改成
vhost_http_ports= 80, 81, 82
仅80生效
@fatedier commented on GitHub (Sep 6, 2021):
You can only set one port for
vhost_http_portnow.@github-actions[bot] commented on GitHub (Oct 7, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.