[GH-ISSUE #439] 想要同时使用80和8080在同一个域名上处理不成功 #332

Closed
opened 2026-05-05 12:08:10 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @qz812371248 on GitHub (Aug 25, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/439

Frp version: 0.13.0

Operating system: Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

Configures:
#配置web站点
[web_pi]
type = http
vhost_http_port = 80
local_ip = 192.168.199.100
local_port = 80
custom_domains = zzdev.top
use_encryption = true
use_compression = true

#配置tomcat
[tomcat8080]
type = http
vhost_http_port = 8080
local_port = 8080
custom_domains = zzdev.top
local_ip = 192.168.199.100
use_encryption = true
use_compression = true

Error: 2017/08/25 17:50:45 [W] [control.go:388] [baca68de17fd02bc] [tomcat8080] start error: hostname [zzdev.top] location [] is already registered

Originally created by @qz812371248 on GitHub (Aug 25, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/439 Frp version: 0.13.0 Operating system: Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux Configures: #配置web站点 [web_pi] type = http vhost_http_port = 80 local_ip = 192.168.199.100 local_port = 80 custom_domains = zzdev.top use_encryption = true use_compression = true #配置tomcat [tomcat8080] type = http vhost_http_port = 8080 local_port = 8080 custom_domains = zzdev.top local_ip = 192.168.199.100 use_encryption = true use_compression = true Error: 2017/08/25 17:50:45 [W] [control.go:388] [baca68de17fd02bc] [tomcat8080] start error: hostname [zzdev.top] location [] is already registered
Author
Owner

@fatedier commented on GitHub (Aug 25, 2017):

Not a problem, read the doc first.

<!-- gh-comment-id:324880313 --> @fatedier commented on GitHub (Aug 25, 2017): Not a problem, read the doc first.
Author
Owner

@qz812371248 commented on GitHub (Aug 25, 2017):

之前看过文档 没有看到这种配置的例子
能否举个例, 前提是不使用subdomain
想使用的样式:
zzdev.top:80和zzdev.top:8080

<!-- gh-comment-id:324882267 --> @qz812371248 commented on GitHub (Aug 25, 2017): 之前看过文档 没有看到这种配置的例子 能否举个例, 前提是不使用subdomain 想使用的样式: zzdev.top:80和zzdev.top:8080
Author
Owner

@fatedier commented on GitHub (Aug 25, 2017):

使用 type = tcp 的方法。

<!-- gh-comment-id:324971725 --> @fatedier commented on GitHub (Aug 25, 2017): 使用 type = tcp 的方法。
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#332
No description provided.