[GH-ISSUE #1548] 错误提示:frpc reload error: admin_port shoud be set if you want to use reload feature #1224

Closed
opened 2026-05-05 12:47:06 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @talway on GitHub (Dec 1, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1548

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)

配置如下:

set admin address for control frpc's action by http api such as reload

admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin

使用命令
frpc status -c ./frpc.ini
frpc reload -c ./frpc.ini

提示
frpc reload error: admin_port shoud be set if you want to use reload feature

Originally created by @talway on GitHub (Dec 1, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1548 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) (请不要在 issue 评论中出现无意义的 **加1**,**我也是** 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。) 配置如下: # set admin address for control frpc's action by http api such as reload admin_addr = 127.0.0.1 admin_port = 7400 admin_user = admin admin_pwd = admin 使用命令 frpc status -c ./frpc.ini frpc reload -c ./frpc.ini 提示 frpc reload error: admin_port shoud be set if you want to use reload feature
Author
Owner

@talway commented on GitHub (Dec 1, 2019):

frpc get status error: admin_port shoud be set if you want to get proxy status

frpc reload error: admin_port shoud be set if you want to use reload feature

<!-- gh-comment-id:560122381 --> @talway commented on GitHub (Dec 1, 2019): frpc get status error: admin_port shoud be set if you want to get proxy status frpc reload error: admin_port shoud be set if you want to use reload feature
Author
Owner

@fatedier commented on GitHub (Dec 2, 2019):

正确指定配置文件启动,启动后观察是否有 admin server listen on xxx 的日志,如果没有,就继续检查配置文件 frpc.ini

<!-- gh-comment-id:560200489 --> @fatedier commented on GitHub (Dec 2, 2019): 正确指定配置文件启动,启动后观察是否有 `admin server listen on xxx` 的日志,如果没有,就继续检查配置文件 `frpc.ini`。
Author
Owner

@talway commented on GitHub (Dec 5, 2019):

重新换个配置文件就可以了,但是不知道是那里出错的

<!-- gh-comment-id:562144606 --> @talway commented on GitHub (Dec 5, 2019): 重新换个配置文件就可以了,但是不知道是那里出错的
Author
Owner

@deadlineOvO commented on GitHub (Dec 7, 2019):

有个问题,未来会考虑使用 HUP 信号重载 frpc 配置吗?

<!-- gh-comment-id:562814244 --> @deadlineOvO commented on GitHub (Dec 7, 2019): 有个问题,未来会考虑使用 HUP 信号重载 frpc 配置吗?
Author
Owner

@fatedier commented on GitHub (Jan 5, 2020):

@funnypro 不会,但是会考虑监测到文件变化后自动重载。

<!-- gh-comment-id:570843997 --> @fatedier commented on GitHub (Jan 5, 2020): @funnypro 不会,但是会考虑监测到文件变化后自动重载。
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#1224
No description provided.