mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3789] frpv0.52.2 无法通过ip访问 #3014
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#3014
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 @lemon5227 on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3789
Bug Description
frpc 端有个服务端口 3000
proxies
name = "chatnext"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3000
remotePort = 10300
proxies
name = "chatweb"
type = "http"
localIP = "127.0.0.1"
localPort = 3000
customDomains = ["xxx.xxx.xxxx"]
可以通过域名访问跟但是不能通过 ip:10300f访问
frpc Version
0.52.2
frps Version
0.52.0
System Architecture
linux/amd64
Configurations
GNU nano 6.2 frpc.toml
serverAddr = "xx.xx.xx.xx"
serverPort = 7000
token = "ladmin"
proxies
name = "api"
type = "tcp"
localIP = "127.0.0.1"
localPort = 8000
remotePort = 10800
proxies
name = "chatnext"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3000
remotePort = 10300
proxies
name = "chatweb"
type = "http"
localIP = "127.0.0.1"
localPort = 3000
customDomains = ["xx.xx.xx.xx"]
Logs
No response
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Nov 22, 2023):
没有日志吗
@lemon5227 commented on GitHub (Nov 22, 2023):
2023/11/22 16:23:23 [I] [root.go:102] frps uses config file: frps.toml 2023/11/22 16:23:24 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000 2023/11/22 16:23:24 [I] [service.go:261] http service listen on 0.0.0.0:8080 2023/11/22 16:23:24 [I] [service.go:276] https service listen on 0.0.0.0:443 2023/11/22 16:23:24 [I] [service.go:312] Dashboard listen on 0.0.0.0:7500 2023/11/22 16:23:24 [I] [root.go:111] frps started successfully 2023/11/22 16:23:25 [I] [service.go:533] [dcd643b990100649] client login info: ip [223.88.142.118:52121] version [0.52.2] hostname [] os [linux] arch [arm64] 2023/11/22 16:23:26 [I] [http.go:110] [dcd643b990100649] [omv] http proxy listen for host [omv.lemony.eu.org] location [] group [], routeByHTTPUser [] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [omv] type [http] success 2023/11/22 16:23:26 [I] [tcp.go:82] [dcd643b990100649] [smb] tcp proxy listen port [4545] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [smb] type [tcp] success 2023/11/22 16:23:26 [I] [http.go:110] [dcd643b990100649] [emby] http proxy listen for host [emby.lemony.eu.org] location [] group [], routeByHTTPUser [] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [emby] type [http] success 2023/11/22 16:23:26 [I] [tcp.go:82] [dcd643b990100649] [ssh] tcp proxy listen port [6000] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [ssh] type [tcp] success 2023/11/22 16:23:26 [I] [http.go:110] [dcd643b990100649] [blog] http proxy listen for host [blog.lemony.eu.org] location [] group [], routeByHTTPUser [] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [blog] type [http] success 2023/11/22 16:23:26 [I] [tcp.go:82] [dcd643b990100649] [next] tcp proxy listen port [3001] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [next] type [tcp] success 2023/11/22 16:23:26 [I] [https.go:67] [dcd643b990100649] [emby_htts2http] https proxy listen for host [emby.lemony.eu.org] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [emby_htts2http] type [https] success 2023/11/22 16:23:26 [I] [http.go:110] [dcd643b990100649] [qt] http proxy listen for host [qt.lemony.eu.org] location [] group [], routeByHTTPUser [] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [qt] type [http] success 2023/11/22 16:23:26 [I] [https.go:67] [dcd643b990100649] [omv_htts2http] https proxy listen for host [omv.lemony.eu.org] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [omv_htts2http] type [https] success 2023/11/22 16:23:26 [I] [https.go:67] [dcd643b990100649] [qt_htts2http] https proxy listen for host [qt.lemony.eu.org] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [qt_htts2http] type [https] success 2023/11/22 16:23:26 [I] [https.go:67] [dcd643b990100649] [blog_htts2http] https proxy listen for host [blog.lemony.eu.org] 2023/11/22 16:23:26 [I] [control.go:500] [dcd643b990100649] new proxy [blog_htts2http] type [https] success 2023/11/22 16:23:26 [I] [service.go:533] [8c96f7b9d2cec848] client login info: ip [118.180.49.2:29203] version [0.52.2] hostname [] os [linux] arch [amd64] 2023/11/22 16:23:26 [I] [tcp.go:82] [8c96f7b9d2cec848] [4090] tcp proxy listen port [10300] 2023/11/22 16:23:26 [I] [control.go:500] [8c96f7b9d2cec848] new proxy [4090] type [tcp] success 2023/11/22 16:23:26 [I] [tcp.go:82] [8c96f7b9d2cec848] [openai] tcp proxy listen port [10800] 2023/11/22 16:23:26 [I] [control.go:500] [8c96f7b9d2cec848] new proxy [openai] type [tcp] success当我通过ip:10300端口访问 没有任何反应
@lemon5227 commented on GitHub (Nov 22, 2023):
2023/11/22 16:25:32 [I] [proxy.go:204] [dcd643b990100649] [ssh] get a user connection [223.88.142.118:51617]
2023/11/22 16:25:51 [I] [proxy.go:204] [8c96f7b9d2cec848] [openai] get a user connection [223.88.142.118:51633]
访问其他的端口就没有问题
@superzjg commented on GitHub (Nov 23, 2023):
比如
remotePort = 10300是否被服务器上其他程序占用?是否没有在服务器防火墙上开启?如果只有找一个端口不能访问,考虑系统环境的问题,与frp无关。
@xqzr commented on GitHub (Nov 23, 2023):
确保 域名解析 与 IP 访问 是同一个 IP