[GH-ISSUE #953] URL路由问题 URL router #758

Closed
opened 2026-05-05 12:29:04 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Dimenthy on GitHub (Oct 23, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/953

frpc.ini
[common]
server_addr = xxx.xxx.com
server_port = 7000
token=xxx

[web1]
type = http
local_port = 80
custom_domains = xxx.xxx.com
locations = /

[web2]
type = http
local_ip = 192.168.1.64
local_port = 80
custom_domains = xxx.xxx.com
locations = /hikvision

[web3]
type = http
local_ip = 192.168.1.99
local_port = 80
custom_domains = xxx.xxx.com
locations = /nec

[b827ebFFFE2af8bd_GW]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 0

frpc.ini如上所示 但是我无法访问两个/hikvision和/nec 这两个HTTP的路由 只能访问到一个 / 这个路由
frpc上会打出log 类似 [web3] connect to local service [192.1681.64:80] error: dial tcp 192.168.8.111:80: connect: connection timed out

Originally created by @Dimenthy on GitHub (Oct 23, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/953 frpc.ini [common] server_addr = xxx.xxx.com server_port = 7000 token=xxx [web1] type = http local_port = 80 custom_domains = xxx.xxx.com locations = / [web2] type = http local_ip = 192.168.1.64 local_port = 80 custom_domains = xxx.xxx.com locations = /hikvision [web3] type = http local_ip = 192.168.1.99 local_port = 80 custom_domains = xxx.xxx.com locations = /nec [b827ebFFFE2af8bd_GW] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 0 frpc.ini如上所示 但是我无法访问两个/hikvision和/nec 这两个HTTP的路由 只能访问到一个 / 这个路由 frpc上会打出log 类似 [web3] connect to local service [192.1681.64:80] error: dial tcp 192.168.8.111:80: connect: connection timed out
gitea-mirror 2026-05-05 12:29:04 -06:00
Author
Owner

@Dimenthy commented on GitHub (Oct 23, 2018):

@fatedier

<!-- gh-comment-id:432158588 --> @Dimenthy commented on GitHub (Oct 23, 2018): @fatedier
Author
Owner

@yuyulei commented on GitHub (Nov 8, 2018):

从日志上看 是访问 192.168.8.111:80 服务超时,能不能确认这个服务是否正常。

<!-- gh-comment-id:436889725 --> @yuyulei commented on GitHub (Nov 8, 2018): 从日志上看 是访问 192.168.8.111:80 服务超时,能不能确认这个服务是否正常。
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#758
No description provided.