mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3702] 面板IP绑定问题 #2948
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#2948
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 @WuMe-sicx on GitHub (Oct 19, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3702
Bug Description
三台国内服务器无法绑定本地IP地址,但是可以绑定127.0.0.1 这样的缺点是无法正常访问web面板
但是海外的服务器是可正常绑定上IP的 frps配置文件是一样的,国内服务器防火墙ALL全开
当前暂时,不清楚是服务器问题还是frp问题 只能请教一下
frpc Version
0.52.1
frps Version
0.52.1
System Architecture
linux/amd64
Configurations
国内服务器


海外服务器
Logs
No response
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Oct 19, 2023):
你最关键的错误原因的提示日志没有截,比如说可能这个端口已经被其他应用占用了,可以换一个端口试试。
@WuMe-sicx commented on GitHub (Oct 19, 2023):
已修复
添加这两个变量
bindAddr = "0.0.0.0"
webServer.addr = "0.0.0.0"
@WuMe-sicx commented on GitHub (Oct 19, 2023):
不清楚是为什么webServer.addr = "0.0.0.0" 不能绑定当前服务器IP
修复完成 输出日志
2023/10/19 19:13:18 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000
2023/10/19 19:13:18 [I] [service.go:261] http service listen on 0.0.0.0:80
2023/10/19 19:13:18 [I] [service.go:276] https service listen on 0.0.0.0:443
2023/10/19 19:13:18 [I] [service.go:312] Dashboard listen on 0.0.0.0:7500
@fatedier commented on GitHub (Oct 19, 2023):
错误提示里一般会说明具体的原因
@WuMe-sicx commented on GitHub (Oct 19, 2023):
请问是这个错误嘛Oct 19 19:04:50 VM-12-13-debian frps[695]: create dashboard web server error, listen tcp 服务器IP:7500: bind: cannot assign requested addre>
@fatedier commented on GitHub (Oct 19, 2023):
你 IP 填错了,或者那个 IP 并不是你服务器的网卡 IP,是云厂商通过某些方式将这个 IP 的流量转发到了你的服务器。
@WuMe-sicx commented on GitHub (Oct 19, 2023):
填错应该不可能,应该就是云厂商的问题, 关于加密和压缩启用了 服务端不显示 客户端实际是否有效果?