mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #439] 想要同时使用80和8080在同一个域名上处理不成功 #332
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#332
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 @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
@fatedier commented on GitHub (Aug 25, 2017):
Not a problem, read the doc first.
@qz812371248 commented on GitHub (Aug 25, 2017):
之前看过文档 没有看到这种配置的例子
能否举个例, 前提是不使用subdomain
想使用的样式:
zzdev.top:80和zzdev.top:8080
@fatedier commented on GitHub (Aug 25, 2017):
使用 type = tcp 的方法。