Coder Social home page Coder Social logo

Comments (11)

subei12 avatar subei12 commented on August 27, 2024 1

frps 要开启 Dashboard 吧,在 frps.toml 加一下配置试试看。

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"

from frp.

xhzkp avatar xhzkp commented on August 27, 2024

frps 要开启 Dashboard 吧,在 frps.toml 加一下配置试试看。

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"

感谢,
我这不是用的内置的面板, 是用的frps-panel面板插件, 是按下面的帮助文档配置的
https://github.com/yhl452493373/frps-panel/blob/main/README_zh.md

from frp.

subei12 avatar subei12 commented on August 27, 2024

frps 要打开 Dashboard 吧,在frps.toml加一下配置试试看。

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"

谢谢, 我这不是用的内置面板,是用的frps-panel面板插件,是按下面的帮助文档配置的 https://github.com/yhl452493373/frps-panel/blob/main/README_zh.md

你的frps-panel.toml 面板配置上有一段

# frp dashboard info
dashboard_addr = "127.0.0.1"
dashboard_port = 7500
dashboard_user = "admin"
dashboard_pwd = "admin"

从注释上看,这里填写的是frp dashboard 的配置信息,你的报错也是这个信息里的端口,
所以我猜测你需要开启frp dashboard 你的frps-panel面板才可以获取到服务器信息

from frp.

xhzkp avatar xhzkp commented on August 27, 2024

frps 要打开 Dashboard 吧,在frps.toml加一下配置试试看。

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"

谢谢, 我这不是用的内置面板,是用的frps-panel面板插件,是按下面的帮助文档配置的 https://github.com/yhl452493373/frps-panel/blob/main/README_zh.md

你的frps-panel.toml 面板配置上有一段

# frp dashboard info
dashboard_addr = "127.0.0.1"
dashboard_port = 7500
dashboard_user = "admin"
dashboard_pwd = "admin"

从注释上看,这里填写的是frp dashboard 的配置信息,你的报错也是这个信息里的端口, 所以我猜测你需要开启frp dashboard 你的frps-panel面板才可以获取到服务器信息

奇怪了, 刚才加了你提到的那几行配置, 测试不行, 然后我又改回去, 结果, 现在哪个面板也进不去了,
不知道是不是那个项目不适配最新的0.59?

from frp.

xhzkp avatar xhzkp commented on August 27, 2024

清了一下浏览器的缓存, 现在能进插件的面板了, 但是还是报原来的错误, 估计可能还是哪里有问题

from frp.

subei12 avatar subei12 commented on August 27, 2024

开无痕直接访问 http://127.0.0.1:7500 输入账号密码试试吧

我整体测试下来是正常的
image

_______________________________________________________________frps-panel.toml
# basic options
[common]
# frps panel config info
plugin_addr = "127.0.0.1"
plugin_port = 7200
#admin_user = "admin"
#admin_pwd = "admin"
# specified login state keep time
admin_keep_time = 0

# enable tls
tls_mode = false
#tls_cert_file = "cert.crt"
#tls_key_file = "cert.key"

# frp dashboard info
dashboard_addr = "127.0.0.1"
dashboard_port = 7500
dashboard_user = "admin"
dashboard_pwd = "admin"


_______________________________________________________________frps.toml
bindPort = 7000

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"
enablePrometheus = true


[[httpPlugins]]
name = "frps-panel"
addr = "127.0.0.1:7200"
path = "/handler"
ops = ["Login","NewWorkConn","NewUserConn","NewProxy","Ping"]

from frp.

xhzkp avatar xhzkp commented on August 27, 2024

默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。

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

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

webServer.user = "admin"
webServer.password = "admin"
enablePrometheus = true

非常感谢, 现在7500和7200都能进了, 但是7500是内置的面板, 7200才是插件的面板, 难道官方文档的配置丢了那几行了吗?

from frp.

xhzkp avatar xhzkp commented on August 27, 2024

开无痕直接访问 http://127.0.0.1:7500 输入账号密码试试吧

我整体测试下来是正常的 image

_______________________________________________________________frps-panel.toml
# basic options
[common]
# frps panel config info
plugin_addr = "127.0.0.1"
plugin_port = 7200
#admin_user = "admin"
#admin_pwd = "admin"
# specified login state keep time
admin_keep_time = 0

# enable tls
tls_mode = false
#tls_cert_file = "cert.crt"
#tls_key_file = "cert.key"

# frp dashboard info
dashboard_addr = "127.0.0.1"
dashboard_port = 7500
dashboard_user = "admin"
dashboard_pwd = "admin"


_______________________________________________________________frps.toml
bindPort = 7000

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"
enablePrometheus = true


[[httpPlugins]]
name = "frps-panel"
addr = "127.0.0.1:7200"
path = "/handler"
ops = ["Login","NewWorkConn","NewUserConn","NewProxy","Ping"]

大佬发现一个问题, 客户端, 莫名其妙就不连不上服务器了, 一直下面的提示, 然后看服务端的面板里面, 用户并没有被禁用, TCP列表里面为空, 我只能再新找一个端口,再新建一个用户, 哎, 真是不稳定

C:\Users\Administrator\Desktop\FRP\Frp059>frpc -c frpc.toml
�[1;34m2024-07-13 11:47:14.661 [I] [sub/root.go:142] start frpc service for config file [frpc.toml]
�[0m�[1;34m2024-07-13 11:47:14.679 [I] [client/service.go:294] try to connect to server...
�[0m�[1;34m2024-07-13 11:47:14.738 [I] [client/service.go:286] [3eb0e1eaa3d7a1cb] login to server success, get run id [3eb0e1eaa3d7a1cb]
�[0m�[1;34m2024-07-13 11:47:14.739 [I] [proxy/proxy_manager.go:173] [3eb0e1eaa3d7a1cb] proxy added: [frp001.Port 4455 Server]
�[0m�[1;33m2024-07-13 11:47:14.758 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed
�[0m�[1;33m2024-07-13 11:47:44.835 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed
�[0m�[1;33m2024-07-13 11:48:14.882 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed
�[0m�[1;33m2024-07-13 11:48:44.965 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed
�[0m�[1;33m2024-07-13 11:49:15.034 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed
�[0m�[1;33m2024-07-13 11:49:45.122 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed
�[0m�[1;33m2024-07-13 11:50:15.189 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed

from frp.

fatedier avatar fatedier commented on August 27, 2024

请去对应的项目里咨询。

from frp.

xhzkp avatar xhzkp commented on August 27, 2024

请去对应的项目里咨询。

那个项目已经封存了,

from frp.

raydoom avatar raydoom commented on August 27, 2024

开无痕直接访问 http://127.0.0.1:7500 输入账号密码试试吧
我整体测试下来是正常的 image

_______________________________________________________________frps-panel.toml
# basic options
[common]
# frps panel config info
plugin_addr = "127.0.0.1"
plugin_port = 7200
#admin_user = "admin"
#admin_pwd = "admin"
# specified login state keep time
admin_keep_time = 0

# enable tls
tls_mode = false
#tls_cert_file = "cert.crt"
#tls_key_file = "cert.key"

# frp dashboard info
dashboard_addr = "127.0.0.1"
dashboard_port = 7500
dashboard_user = "admin"
dashboard_pwd = "admin"


_______________________________________________________________frps.toml
bindPort = 7000

# 默认为 127.0.0.1,如果需要公网访问,需要修改为 0.0.0.0。
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"
enablePrometheus = true


[[httpPlugins]]
name = "frps-panel"
addr = "127.0.0.1:7200"
path = "/handler"
ops = ["Login","NewWorkConn","NewUserConn","NewProxy","Ping"]

大佬发现一个问题, 客户端, 莫名其妙就不连不上服务器了, 一直下面的提示, 然后看服务端的面板里面, 用户并没有被禁用, TCP列表里面为空, 我只能再新找一个端口,再新建一个用户, 哎, 真是不稳定

C:\Users\Administrator\Desktop\FRP\Frp059>frpc -c frpc.toml �[1;34m2024-07-13 11:47:14.661 [I] [sub/root.go:142] start frpc service for config file [frpc.toml] �[0m�[1;34m2024-07-13 11:47:14.679 [I] [client/service.go:294] try to connect to server... �[0m�[1;34m2024-07-13 11:47:14.738 [I] [client/service.go:286] [3eb0e1eaa3d7a1cb] login to server success, get run id [3eb0e1eaa3d7a1cb] �[0m�[1;34m2024-07-13 11:47:14.739 [I] [proxy/proxy_manager.go:173] [3eb0e1eaa3d7a1cb] proxy added: [frp001.Port 4455 Server] �[0m�[1;33m2024-07-13 11:47:14.758 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed �[0m�[1;33m2024-07-13 11:47:44.835 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed �[0m�[1;33m2024-07-13 11:48:14.882 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed �[0m�[1;33m2024-07-13 11:48:44.965 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed �[0m�[1;33m2024-07-13 11:49:15.034 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed �[0m�[1;33m2024-07-13 11:49:45.122 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed �[0m�[1;33m2024-07-13 11:50:15.189 [W] [client/control.go:166] [3eb0e1eaa3d7a1cb] [frp001.Port 4455 Server] start error: user [frp001] port [6000] is not allowed

user [frp001] port [6000] is not allowed
这么明显的错误提示都要发个issue吗,先去看看使用说明README,不要张口就说人家的项目不稳定,先排除自己的使用问题

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.