mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3776] 文档超前,版本滞后 #3005
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @monk-after-90s on GitHub (Nov 16, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3776
Bug Description
我在用frp_0.52.3_linux_arm64.tar.gz,
我感觉文档里的特性很多都没有体现在软件里,可能作者还在肝。
比如文档里Dashboard的配置(如下所示)以及子域名设置(会报“not enabld in server”)
frpc Version
0.52.3
frps Version
0.52.3
System Architecture
linux/amd64
Configurations
frps.toml
webServer.port = 7500
dashboard 用户名密码,可选,默认为空
webServer.user = "admin"
webServer.password = "admin"
Logs
11月 16 10:48:45 iZ2vc7z253p2dhqfv8gt3nZ frps[32359]: 2023/11/16 10:48:45 [I] [root.go:102] frps uses config file: /root/code/frp/frps.toml
11月 16 10:48:45 iZ2vc7z253p2dhqfv8gt3nZ frps[32359]: 2023/11/16 10:48:45 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000
11月 16 10:48:45 iZ2vc7z253p2dhqfv8gt3nZ frps[32359]: 2023/11/16 10:48:45 [I] [service.go:261] http service listen on 0.0.0.0:6006
11月 16 10:48:45 iZ2vc7z253p2dhqfv8gt3nZ frps[32359]: 2023/11/16 10:48:45 [I] [root.go:111] frps started successfully
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Nov 16, 2023):
关于Dashboard
https://github.com/fatedier/frp/issues/3709#issuecomment-1774338490
@monk-after-90s commented on GitHub (Nov 16, 2023):
curl 127.0.0.1:7500 也试了,connection refused
@superzjg commented on GitHub (Nov 16, 2023):
注意127.0.0.1为本机地址,只在本机才有效。远程访问请更改。
我一直用着Dashboard没问题
@xqzr commented on GitHub (Nov 16, 2023):
看起来 配置内容 没有被读取
@monk-after-90s commented on GitHub (Nov 16, 2023):
我在服务端本地curl的啊
@monk-after-90s commented on GitHub (Nov 16, 2023):
我用”dashboard_port = 8889“就可以了,”webServer.port = 8889“没什么用哇。所以我觉得,Linux这个版本应该是没更新,毕竟没有固定公网IP的Linux服务器太少了,作者也太忙了🤣
@superzjg commented on GitHub (Nov 16, 2023):
怎么可能?一套代码编译的。
我也是Linux-arm64的。
你把完整配置文件贴出来看看,估计有语法错误,未读取到。
@monk-after-90s commented on GitHub (Nov 17, 2023):
无效的dashboard配置:
日志
有效的配置
日志
@superzjg commented on GitHub (Nov 17, 2023):
你所指的【无效的dashboard配置】有语法错误:
1、修改
bindAddr = 0.0.0.0为bindAddr = "0.0.0.0"字符串类必须加引号2、删除
[common],有这个frp会认为你是用旧 ini 格式的配置文件。3、修改
vhost_http_port = 6006为vhostHTTPPort = 60064、删除
privilegeMode = true,貌似我没在参数列表找到这个。@superzjg commented on GitHub (Nov 17, 2023):
把我说的上面4个错误语法改掉,再试。
严重怀疑你有没有认真读文档。
@monk-after-90s commented on GitHub (Nov 17, 2023):
改了,确实是我的错🤣。我太忙,没细度文档,网上找的资料