mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4881] Unable to get FRPS and FRPC to connect #3851
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#3851
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 @Bln3 on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4881
Bug Description
I am trying to setup the reverse proxy, but I am running into an issue. When running the FRPC I get
[1;34m2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml]
[0m[1;34m2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server...
[0m[1;33m2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout
[0m[1;34m2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped
[0mlogin to the server failed: dial tcp IP:7000: i/o timeout. With loginFailExit enabled, no additional retries will be attempted
*I put IP as a place holder in this post, it says the actually public ip in the output
The server running FRPS is on an oracle linux VM that is ARM based, while the FRPC is on Windows 10 x64. I have the Ingress rules setup to allow the bind/server Port, so I don't see what's wrong.
FRPS config
bindPort = 7000
FRPC config
serverAddr = "IP"
serverPort = 7000
proxies
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
frpc Version
0.63.0
frps Version
0.63.0
System Architecture
linux/arm64 and windows/amd64
Configurations
FRPS config
bindPort = 7000
FRPC config
serverAddr = "IP"
serverPort = 7000
proxies
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
Logs
[1;34m2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml]
[0m[1;34m2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server...
[0m[1;33m2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout
[0m[1;34m2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped
[0mlogin to the server failed: dial tcp IP:7000: i/o timeout. With loginFailExit enabled, no additional retries will be attempted
Steps to reproduce
...
Affected area
@Bln3 commented on GitHub (Jul 15, 2025):
I forgot to notate that the oracle VM is using an ssh key, I figured that may be something at play.
@fatedier commented on GitHub (Jul 15, 2025):
This is usually a network issue, most likely related to the firewall.
@Bln3 commented on GitHub (Jul 16, 2025):
I added the firewall rule to allow incoming and outgoing traffic from port 7000 on my local machine and on the linux oracle VM using iptables. It didn't work. I figured I would try adding it to the VM physically even though its already on the oracle portal security list.
@Bln3 commented on GitHub (Jul 16, 2025):
I also tried completely disabling my local machines firewall completely, but no good.
@BustedSec commented on GitHub (Jul 16, 2025):
You neee to try nginx rev proxy config
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Bln3 @.>
Sent: Monday, July 14, 2025 6:58:29 PM
To: fatedier/frp @.>
Cc: Subscribed @.***>
Subject: [fatedier/frp] Unable to get FRPS and FRPC to connect (Issue #4881)
[https://avatars.githubusercontent.com/u/47198522?s=20&v=4]Bln3 created an issue (fatedier/frp#4881)https://github.com/fatedier/frp/issues/4881
Bug Description
I am trying to setup the reverse proxy, but I am running into an issue. When running the FRPC I get
�[1;34m2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml]
�[0m�[1;34m2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server...
�[0m�[1;33m2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout
�[0m�[1;34m2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped
�[0mlogin to the server failed: dial tcp IP:7000: i/o timeout. With loginFailExit enabled, no additional retries will be attempted
*I put IP as a place holder in this post, it says the actually public ip in the output
The server running FRPS is on an oracle linux VM that is ARM based, while the FRPC is on Windows 10 x64. I have the Ingress rules setup to allow the bind/server Port, so I don't see what's wrong.
FRPS config
bindPort = 7000
FRPC config
serverAddr = "IP"
serverPort = 7000
proxies
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
frpc Version
0.63.0
frps Version
0.63.0
System Architecture
linux/arm64 and windows/amd64
Configurations
FRPS config
bindPort = 7000
FRPC config
serverAddr = "IP"
serverPort = 7000
proxies
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
Logs
�[1;34m2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml]
�[0m�[1;34m2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server...
�[0m�[1;33m2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout
�[0m�[1;34m2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped
�[0mlogin to the server failed: dial tcp IP:7000: i/o timeout. With loginFailExit enabled, no additional retries will be attempted
Steps to reproduce
...
Affected area
—
Reply to this email directly, view it on GitHubhttps://github.com/fatedier/frp/issues/4881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABYWWBZMWHPHILGJ4ZWF2KD3IRN4LAVCNFSM6AAAAACBQSE6YKVHI2DSMVQWIX3LMV43ASLTON2WKOZTGIZTANJQGEZTGNY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
@Bln3 commented on GitHub (Jul 16, 2025):
I was able to fix the issue by running sudo firewall-cmd --permanent --zone=docker --add-port=7000/tcp. It doesnt look like adding to the servers: iptables , oracles web portal, or local host firewall fixes the issue, but its probably needed at least on the web portal.
I don't know if the Oracle VM's are running in a docker or not , but when you run sudo firewall-cmd --get-active-zones you get interfaces: docker0 #
This may be good information to add into documentation for anyone running FRP in Oracle VM's. @fatedier
@Bln3 commented on GitHub (Jul 16, 2025):
I do wanna note I did try using UFW as well.