[GH-ISSUE #3787] frps新的配置模式下dashboard不能用 #3011

Closed
opened 2026-05-05 13:56:45 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @lyg4795 on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3787

Bug Description

配置文件
bindPort = 2000

frps.toml

webServer.port = 2001

dashboard 用户名密码,可选,默认为空

webServer.user = "admin"
webServer.password = "admin"

这样配置 frpc能访问2000 但是web访问ip:2001打不开

frpc Version

0.52.3

frps Version

0.52.3

System Architecture

linux/amd64 Ubuntu20.04

Configurations

[common]
bind_port = 2000
dashboard_port = 2001

dashboard 用户名密码,可选,默认为空

dashboard_user = admin
dashboard_pwd = admin
采用旧版的配置文件可以成功打开dashboard

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 @lyg4795 on GitHub (Nov 21, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3787 ### Bug Description 配置文件 bindPort = 2000 # frps.toml webServer.port = 2001 # dashboard 用户名密码,可选,默认为空 webServer.user = "admin" webServer.password = "admin" 这样配置 frpc能访问2000 但是web访问ip:2001打不开 ### frpc Version 0.52.3 ### frps Version 0.52.3 ### System Architecture linux/amd64 Ubuntu20.04 ### Configurations [common] bind_port = 2000 dashboard_port = 2001 # dashboard 用户名密码,可选,默认为空 dashboard_user = admin dashboard_pwd = admin 采用旧版的配置文件可以成功打开dashboard ### 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
Author
Owner

@lyg4795 commented on GitHub (Nov 21, 2023):

找了历史issue, 添加webServer.addr = "0.0.0.0"可以了, 另外真的不在官方文档里面添加一下说明吗?

<!-- gh-comment-id:1820119568 --> @lyg4795 commented on GitHub (Nov 21, 2023): 找了历史issue, 添加webServer.addr = "0.0.0.0"可以了, 另外真的不在官方文档里面添加一下说明吗?
Author
Owner

@fatedier commented on GitHub (Nov 21, 2023):

可以加

<!-- gh-comment-id:1820141752 --> @fatedier commented on GitHub (Nov 21, 2023): 可以加
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#3011
No description provided.