mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2721] 客户端80端口和443端口配置同一 个域名的泛解析会提示 start error: router config conflict #2174
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#2174
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 @gicexxopode on GitHub (Dec 29, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2721
Bug Description
frp如果要同时映射80和443端口到远程服务器配置如下:
会提示 start error: router config conflict,这个是功能设计如此,还是说是个BUG
frpc Version
0.38.0
frps Version
0.38.0
System Architecture
linux/amd64
Configurations
[webhttp]
type = http
local_port = 80
remote_port = 808
custom_domains = *.abc.com
[webhttps]
type = https
local_port = 443
remote_port = 809
use_encryption=true
use_compression=true
custom_domains = *.abc.com
Logs
No response
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Jan 4, 2022):
Unable to reproduce.
@github-actions[bot] commented on GitHub (Feb 4, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@ax2009live commented on GitHub (Aug 2, 2022):
很明显,你的配置写的有问题,http 和 https 里的端口,是在 frps.ini 设置好的;
比如
vhost_http_port = 80
vhost_https_port = 443
[webhttp]
type = http
local_ip = xxx.xxx.xxx.xxx
local_port = 808
custom_domains = *.abc.com
[webhttps]
type = https
local_ip = xxx.xxx.xxx.xxx
local_port = 809
use_encryption=true
use_compression=true
custom_domains = *.abc.com