fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
81.89k stars 12.88k forks source link

I have set up webserver, but after starting frps, I am unable to access the dashboard #4296

Open xinoer opened 5 days ago

xinoer commented 5 days ago

Bug Description

I have set up webserver, but after starting frps, I am unable to access the dashboard The ‘frps.toml’ file is as follows: [common] bind_port = 7000 auth.method = "token" auth.token = "123456"

webServer.addr = "127.0.0.1" webServer.port = 7001 webServer.user = "admin" webServer.password = "admin"

log_file = ./frps.log log_level = info log_max_days = 3

vhostHTTPSPort = 443 subdomain_host = 123.com

frpc Version

frp_0.58.0

frps Version

frp_0.58.0

System Architecture

windows_amd64

Configurations

[common] bind_port = 7000 auth.method = "token" auth.token = "123456"

web服务器.addr = “127.0.0.1” web服务器.port = 7001 web服务器.user = “管理员” web服务器.password = “管理员”

log_file = ./frps.log log_level = info log_max_days = 3

vhostHTTPSPort = 443 subdomain_host = 123.com

Logs

The log is as follows: 2024-06-24 10:27:29.400 [I] [frps/root.go:105] frps uses config file: frps.toml 2024-06-24 10:27:29.534 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:7000 2024-06-24 10:27:29.534 [I] [frps/root.go:114] frps started successfully

Steps to reproduce

  1. ...

Affected area

wuai1024 commented 5 days ago

现在新版的已经没有这个参数了 [common]

webServer.addr = "0.0.0.0"
xinoer commented 5 days ago

现在新版的已经没有这个参数了 ~[common]~

webServer.addr = "0.0.0.0"

可是我去掉[common],也不行呀

arvinws commented 4 days ago

参考这个可以成功http://blog.168hot.cn/448.html