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
85.98k stars 13.31k forks source link

Server Dashboard connection refused #3709

Closed lilongsky closed 1 year ago

lilongsky commented 1 year ago

Bug Description

after setting up the server dashboard, follow Web 界面. The chrome shows ERR_CONNECTION_REFUSED

It could be fixed by adding webServer.addr = "0.0.0.0" to Configurations

frpc Version

0.52.1

frps Version

0.52.1

System Architecture

linux/amd64

Configurations

bindPort = 7000 subdomainHost = "*" vhostHTTPPort = 80 vhostHTTPSPort = 443

webServer.port = 7500 webServer.user = "" webServer.password = ""

webServer.tls.certFile = "" webServer.tls.keyFile = ""

Logs

no log related to it

Steps to reproduce

  1. Setting frps.toml follow https://gofrp.org/zh-cn/docs/features/common/ui/
  2. Chrome access ip:7500 or domain:7500
  3. get error "ERR_CONNECTION_REFUSED"

Affected area

fatedier commented 1 year ago

This is expected. For security reasons, the default listening address for the web server is 127.0.0.1.