[GH-ISSUE #3794] 打开服务器Web 界面后无法访问 #3017

Closed
opened 2026-05-05 13:57:00 -06:00 by gitea-mirror · 13 comments
Owner

Originally created by @fanhua1994 on GitHub (Nov 22, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3794

Bug Description

防火墙,安全组全部关闭的情况下。通过外网IP:7500 无法访问Dashboard ,但是http://127.0.0.1:7500 提示Unauthorized

frpc Version

0.52.3

frps Version

0.52.3

System Architecture

linux/amd64

Configurations

bindPort = 7000
auth.token = "eeeeeeeeeeeeeeeeeeeeeee"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "adeeeeeeee"

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @fanhua1994 on GitHub (Nov 22, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3794 ### Bug Description 防火墙,安全组全部关闭的情况下。通过外网IP:7500 无法访问Dashboard ,但是`http://127.0.0.1:7500 `提示`Unauthorized` ### frpc Version 0.52.3 ### frps Version 0.52.3 ### System Architecture linux/amd64 ### Configurations bindPort = 7000 auth.token = "eeeeeeeeeeeeeeeeeeeeeee" webServer.port = 7500 webServer.user = "admin" webServer.password = "adeeeeeeee" ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:57:00 -06:00
Author
Owner

@superzjg commented on GitHub (Nov 22, 2023):

默认是本机访问,远程需改配置
https://github.com/fatedier/frp/issues/3709

<!-- gh-comment-id:1823051463 --> @superzjg commented on GitHub (Nov 22, 2023): 默认是本机访问,远程需改配置 https://github.com/fatedier/frp/issues/3709
Author
Owner

@xqzr commented on GitHub (Nov 23, 2023):

7500 端口 默认监听 127.0.0.1

<!-- gh-comment-id:1823979057 --> @xqzr commented on GitHub (Nov 23, 2023): 7500 端口 默认监听 `127.0.0.1`
Author
Owner

@xydfg commented on GitHub (Nov 25, 2023):

service端7500默认是管理页面,如果在云服务上装的。需把端口加入防火墙,以及服务器对应供应商安全组

<!-- gh-comment-id:1826372967 --> @xydfg commented on GitHub (Nov 25, 2023): service端7500默认是管理页面,如果在云服务上装的。需把端口加入防火墙,以及服务器对应供应商安全组
Author
Owner

@zhengxl5566 commented on GitHub (Nov 26, 2023):

作者为了安全考虑,web管理页面 默认监听 127.0.0.1,如果你想在其他机器上访问web页,可以修改监听地址为 0.0.0.0(监听所有)贴个配置参考:

frps.toml

webServer.port = 7500
webServer.addr = "0.0.0.0"

<!-- gh-comment-id:1826811337 --> @zhengxl5566 commented on GitHub (Nov 26, 2023): 作者为了安全考虑,web管理页面 默认监听 127.0.0.1,如果你想在其他机器上访问web页,可以修改监听地址为 0.0.0.0(监听所有)贴个配置参考: # frps.toml webServer.port = 7500 webServer.addr = "0.0.0.0"
Author
Owner

@yanxin152133 commented on GitHub (Dec 12, 2023):

frps Version
0.52.3
我的也不能访问web页面,客户端还死活连不上服务端

<!-- gh-comment-id:1852025243 --> @yanxin152133 commented on GitHub (Dec 12, 2023): frps Version 0.52.3 我的也不能访问web页面,客户端还死活连不上服务端
Author
Owner

@trowa520 commented on GitHub (Dec 14, 2023):

试了两台服务器都不行

<!-- gh-comment-id:1854966897 --> @trowa520 commented on GitHub (Dec 14, 2023): 试了两台服务器都不行
Author
Owner

@yanxin152133 commented on GitHub (Dec 14, 2023):

试了两台服务器都不行

旧版本试过没

<!-- gh-comment-id:1854968437 --> @yanxin152133 commented on GitHub (Dec 14, 2023): > 试了两台服务器都不行 旧版本试过没
Author
Owner

@superzjg commented on GitHub (Dec 14, 2023):

@yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析?

<!-- gh-comment-id:1854995473 --> @superzjg commented on GitHub (Dec 14, 2023): @yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析?
Author
Owner

@trowa520 commented on GitHub (Dec 14, 2023):

@yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析?

找到原因了,需要添加安全组,现在可以正常访问了
WechatIMG465

<!-- gh-comment-id:1855007260 --> @trowa520 commented on GitHub (Dec 14, 2023): > @yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析? 找到原因了,需要添加安全组,现在可以正常访问了 ![WechatIMG465](https://github.com/fatedier/frp/assets/15259416/7f5311aa-17c6-4791-9c53-becbce75bfe4)
Author
Owner

@yanxin152133 commented on GitHub (Dec 14, 2023):

@yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析?

我的openwrt,溜了溜了

<!-- gh-comment-id:1855008441 --> @yanxin152133 commented on GitHub (Dec 14, 2023): > @yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析? 我的openwrt,溜了溜了
Author
Owner

@zczy999 commented on GitHub (Dec 14, 2023):

作者为了安全考虑,web管理页面 默认监听 127.0.0.1,如果你想在其他机器上访问web页,可以修改监听地址为 0.0.0.0(监听所有)贴个配置参考:

frps.toml

webServer.port = 7500 webServer.addr = "0.0.0.0"

感谢,改了就好了

<!-- gh-comment-id:1855483339 --> @zczy999 commented on GitHub (Dec 14, 2023): > 作者为了安全考虑,web管理页面 默认监听 127.0.0.1,如果你想在其他机器上访问web页,可以修改监听地址为 0.0.0.0(监听所有)贴个配置参考: > > # frps.toml > webServer.port = 7500 webServer.addr = "0.0.0.0" 感谢,改了就好了
Author
Owner

@yanxin152133 commented on GitHub (Dec 18, 2023):

@yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析?

找到原因了,需要添加安全组,现在可以正常访问了 WechatIMG465

好奇的问一下你这买的什么云服务器啊

<!-- gh-comment-id:1861085618 --> @yanxin152133 commented on GitHub (Dec 18, 2023): > > @yanxin152133 @trowa520 一般是配置问题,你不发配置和日志,怎么分析? > > 找到原因了,需要添加安全组,现在可以正常访问了 ![WechatIMG465](https://private-user-images.githubusercontent.com/15259416/290379850-7f5311aa-17c6-4791-9c53-becbce75bfe4.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDI5MTk2MzIsIm5iZiI6MTcwMjkxOTMzMiwicGF0aCI6Ii8xNTI1OTQxNi8yOTAzNzk4NTAtN2Y1MzExYWEtMTdjNi00NzkxLTljNTMtYmVjYmNlNzViZmU0LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjE4VDE3MDg1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVkOTRlMzI5Yzc4ZTQ5MGI4NzFjMTljMjYwNTUxZTY2NGYyZWVlNjZlMDJjYTg4NmFmNjkxMWRkYzI1NjVmMWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yPnzOSn-i4ijqRGCsh_2WNm1LAhfg2ezbDf4k08cUiM) 好奇的问一下你这买的什么云服务器啊
Author
Owner

@github-actions[bot] commented on GitHub (Jan 29, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1913782816 --> @github-actions[bot] commented on GitHub (Jan 29, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#3017
No description provided.