[GH-ISSUE #830] reload failed #651

Closed
opened 2026-05-05 12:25:14 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @minzilla on GitHub (Jun 17, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/830

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 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?

0.20.0
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib/go-1.6"
GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

Configures you used:
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_passwd = ****

Steps to reproduce the issue:
./frpc reload -c frpc_full.ini
Describe the results you received:
frpc reload error: Get http://127.0.0.1:7400/api/reload: dial tcp 127.0.0.1:7400: connect: connection refused

Describe the results you expected:
reload success

Additional information you deem important (e.g. issue happens only occasionally):

ubuntu
sudo lsof -i:7400 get none echo

Can you point out what caused this issue (optional)

Originally created by @minzilla on GitHub (Jun 17, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/830 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 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.20.0 **What operating system and processor architecture are you using (`go env`)?** GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="" GORACE="" GOROOT="/usr/lib/go-1.6" GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64" GO15VENDOREXPERIMENT="1" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1" **Configures you used:** admin_addr = 127.0.0.1 admin_port = 7400 admin_user = admin admin_passwd = **** **Steps to reproduce the issue:** ./frpc reload -c frpc_full.ini **Describe the results you received:** frpc reload error: Get http://127.0.0.1:7400/api/reload: dial tcp 127.0.0.1:7400: connect: connection refused **Describe the results you expected:** reload success **Additional information you deem important (e.g. issue happens only occasionally):** ubuntu sudo lsof -i:7400 get none echo **Can you point out what caused this issue (optional)**
Author
Owner

@fatedier commented on GitHub (Jun 19, 2018):

先启动才能 reload

<!-- gh-comment-id:398258451 --> @fatedier commented on GitHub (Jun 19, 2018): 先启动才能 reload
Author
Owner

@minzilla commented on GitHub (Jun 19, 2018):

frp已经启动了,但是没有监听7400端口。

<!-- gh-comment-id:398259135 --> @minzilla commented on GitHub (Jun 19, 2018): frp已经启动了,但是没有监听7400端口。
Author
Owner

@fatedier commented on GitHub (Jun 19, 2018):

那就把你的完整配置和启动命令贴出来。

<!-- gh-comment-id:398259554 --> @fatedier commented on GitHub (Jun 19, 2018): 那就把你的完整配置和启动命令贴出来。
Author
Owner

@minzilla commented on GitHub (Jun 19, 2018):

大概是这样 nohup /home/lgz/tools/frpc -c frpc_full.ini &
配置文件晚上才能提供。

<!-- gh-comment-id:398262381 --> @minzilla commented on GitHub (Jun 19, 2018): 大概是这样 nohup /home/lgz/tools/frpc -c frpc_full.ini & 配置文件晚上才能提供。
Author
Owner

@fatedier commented on GitHub (Jun 19, 2018):

你自己先用简单的配置一步一步测试,通过日志等做排查,不要上来就放一堆配置进去,发现问题什么也不知道。

<!-- gh-comment-id:398263068 --> @fatedier commented on GitHub (Jun 19, 2018): 你自己先用简单的配置一步一步测试,通过日志等做排查,不要上来就放一堆配置进去,发现问题什么也不知道。
Author
Owner

@wwhRyan commented on GitHub (Nov 24, 2022):

我也遇到这个问题 ,后面发现是自己开启了DMZ,看看你端口是不是有upnp、DMZ等端口转发的设置

<!-- gh-comment-id:1325883856 --> @wwhRyan commented on GitHub (Nov 24, 2022): 我也遇到这个问题 ,后面发现是自己开启了DMZ,看看你端口是不是有upnp、DMZ等端口转发的设置
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#651
No description provided.