mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4622] login to the server failed: dial tcp 0.0.0.0:7000: connect: connection refused. With loginFailExit enabled, no additional retries will be attempted #3650
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#3650
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 @rutie1978 on GitHub (Jan 6, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4622
Describe the feature request
故障描述:
1.frps、frpc都是用docker安装
2.frps 正常启动,但dashboard 一直无法连接,日志如下:
[1;34m2025-01-05 14:50:49.371 [I] [frps/root.go:105] frps uses config file: /etc/frp/frps.toml
[0m[1;34m2025-01-05 14:50:49.550 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:7000
[0m[1;34m2025-01-05 14:50:49.550 [I] [server/service.go:305] http service listen on 0.0.0.0:40800
[0m[1;34m2025-01-05 14:50:49.550 [I] [server/service.go:319] https service listen on 0.0.0.0:40443
[0m[1;34m2025-01-05 14:50:49.550 [I] [frps/root.go:114] frps started successfully
[0m[1;34m2025-01-05 14:50:49.550 [I] [server/service.go:351] dashboard listen on 127.0.0.1:7500
3.frpc 一直无法启动运行,日志如下:
[0mlogin to the server failed: dial tcp 0.0.0.0:7000: connect: connection refused. With loginFailExit enabled, no additional retries will be attempted-- | --
stdout | [0m[1;34m2025-01-05 12:56:42.410 [I] [sub/root.go:160] frpc service for config file [/etc/frp/frpc.toml] stopped
| stdout | [0m[1;33m2025-01-05 12:56:42.410 [W] [client/service.go:298] connect to server error: dial tcp 0.0.0.0:7000: connect: connection refused
| stdout | [0m[1;34m2025-01-05 12:56:42.410 [I] [client/service.go:295] try to connect to server...
2 | stdout | [1;34m2025-01-05 12:56:42.408 [I] [sub/root.go:142] start frpc service for config file [/etc/frp/frpc.toml]
公网服务器ECS 安全组、防火墙均已放行7000、7500、40800、40443端口
服务器公网IP,阿里云ECS frps.toml配置:
bindAddr = "0.0.0.0"
bindPort = 7000
vhostHTTPPort = 40800
vhostHTTPSPort = 40443
auth.method = "token"
auth.token = "token"
webServer.addr = "127.0.0.1"
webServer.port = 7500
webServer.user = "frps_user"
webServer.password = "pwd"
客户端群晖NAS,frpc.toml如下:
[common]
serverAddr = "0.0.0.0"
serverPort = 7000
auth.token = "token"
#log.to = "/docker/frpc_ali/log"
proxies
name = "web"
type = "http"
localPort = 82
customDomains = [""]
subdomain = "*"
frpc Version
frp_0.61.1
frps Version
frp_0.61.1
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Jan 6, 2025):
Network issue.