[GH-ISSUE #2736] Subdomain Bug #2187

Closed
opened 2026-05-05 13:24:25 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @felix530-h on GitHub (Jan 4, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2736

Bug Description

Thanks for the great github repository.

I want to make multiple services reachable using frp. I have set the following in the config:
frps.ini:
[common]
bind_port = 7000
vhost_http_port = 8480
subdomain_host = test.abc

frpc.ini
[common]
server_addr = 127.0.0.1
server_port = 7000

[web-01]
type = http
local_ip = 127.0.0.1
local_port = 80
subdomain = web01
custom_domains = test.abc

[web-02]
type = http
local_ip = 192.168.178.1
local_port = 80
subdomain = web02
custom_domains = test.abc

as soon as I start frpc I get the following error message:
[web-02] start error: router config conflict

But if I start only one subdomain service then don't get any error message.

frpc Version

0.38.0

frps Version

0.38.0

System Architecture

linux_amd64

Configurations

frpc.ini
[common]
server_addr = 127.0.0.1
server_port = 7000

[web-01]
type = http
local_ip = 127.0.0.1
local_port = 80
subdomain = web01
custom_domains = test.abc

[web-02]
type = http
local_ip = 192.168.178.1
local_port = 80
subdomain = web02
custom_domains = test.abc

Logs

error: router config conflict

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @felix530-h on GitHub (Jan 4, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2736 ### Bug Description Thanks for the great github repository. I want to make multiple services reachable using frp. I have set the following in the config: frps.ini: [common] bind_port = 7000 vhost_http_port = 8480 subdomain_host = test.abc frpc.ini [common] server_addr = 127.0.0.1 server_port = 7000 [web-01] type = http local_ip = 127.0.0.1 local_port = 80 subdomain = web01 custom_domains = test.abc [web-02] type = http local_ip = 192.168.178.1 local_port = 80 subdomain = web02 custom_domains = test.abc as soon as I start frpc I get the following error message: [web-02] start error: router config conflict But if I start only one subdomain service then don't get any error message. ### frpc Version 0.38.0 ### frps Version 0.38.0 ### System Architecture linux_amd64 ### Configurations frpc.ini [common] server_addr = 127.0.0.1 server_port = 7000 [web-01] type = http local_ip = 127.0.0.1 local_port = 80 subdomain = web01 custom_domains = test.abc [web-02] type = http local_ip = 192.168.178.1 local_port = 80 subdomain = web02 custom_domains = test.abc ### Logs error: router config conflict ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Jan 5, 2022):

Remove custom_domains

<!-- gh-comment-id:1005333746 --> @fatedier commented on GitHub (Jan 5, 2022): Remove `custom_domains`
Author
Owner

@felix530-h commented on GitHub (Jan 5, 2022):

Thanks for the fast support. Without "custom_domains" it works.

<!-- gh-comment-id:1006028866 --> @felix530-h commented on GitHub (Jan 5, 2022): Thanks for the fast support. Without "custom_domains" it works.
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#2187
No description provided.