mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #5097] 这个问题我看都提了几百遍了,为啥还是会出现啊?start error: type [http] not supported when vhost http port is not set #4002
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#4002
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 @qibin065965 on GitHub (Dec 16, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5097
Bug Description
同样遇到这个问题,怎么样都无解,真是头疼,明明服务端已经是正常监听http端口了
2025-12-16 08:55:44.224 [I] [frps/root.go:108] frps uses config file: /etc/frp/frps.toml
2025-12-16 08:55:45.272 [I] [server/service.go:236] frps tcp listen on 0.0.0.0:7000
2025-12-16 08:55:45.272 [I] [server/service.go:304] http service listen on 0.0.0.0:9900
2025-12-16 08:55:45.272 [I] [server/service.go:318] https service listen on 0.0.0.0:9443
2025-12-16 08:55:45.272 [I] [frps/root.go:117] frps started successfully
客户端,死活提示缺vhost http port,真是服了:
start error: type [http] not supported when vhost http port is not set
客户端配置:
serverAddr = "xxx.com"
serverPort = 7000
proxies
name = "dev.http"
type = "http"
localIP = "127.0.0.1"
localPort = 8080
customDomains = ["dev.xxx.com"]
subdomain = "dev"
frpc Version
0.65.0
frps Version
snowdreamtech/frps 0.65.0
System Architecture
windows/amd64
Configurations
同样遇到这个问题,怎么样都无解,真是头疼,明明服务端已经是正常监听http端口了
2025-12-16 08:55:44.224 [I] [frps/root.go:108] frps uses config file: /etc/frp/frps.toml
2025-12-16 08:55:45.272 [I] [server/service.go:236] frps tcp listen on 0.0.0.0:7700
2025-12-16 08:55:45.272 [I] [server/service.go:304] http service listen on 0.0.0.0:9900
2025-12-16 08:55:45.272 [I] [server/service.go:318] https service listen on 0.0.0.0:9443
2025-12-16 08:55:45.272 [I] [frps/root.go:117] frps started successfully
客户端,死活提示缺vhost http port,真是服了:
start error: type [http] not supported when vhost http port is not set
客户端配置:
serverAddr = "xxx.com"
serverPort = 7000
proxies
name = "dev.http"
type = "http"
localIP = "127.0.0.1"
localPort = 8080
customDomains = ["dev.xxx.com"]
subdomain = "dev"
Logs
No response
Steps to reproduce
...
Affected area
@xiaoshumiao6 commented on GitHub (Dec 18, 2025):
server 段配置这个字段了吗?
vhostHTTPPort = 8080
@dengxiwang commented on GitHub (Dec 18, 2025):
服务端需要配置