[GH-ISSUE #4881] Unable to get FRPS and FRPC to connect #3851

Closed
opened 2026-05-05 14:27:42 -06:00 by gitea-mirror · 7 comments
Owner

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

2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml]
2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server...
2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout
2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped
login 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

2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml]
2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server...
2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout
2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped
login to the server failed: dial tcp IP:7000: i/o timeout. With loginFailExit enabled, no additional retries will be attempted

Steps to reproduce

  1. Start the FRPS
  2. Start the FRPC
  3. Issue replicated
    ...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
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 2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml] 2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server... 2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout 2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped login 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 2025-07-14 21:42:07.960 [I] [sub/root.go:149] start frpc service for config file [.\frpc.toml] 2025-07-14 21:42:07.960 [I] [client/service.go:314] try to connect to server... 2025-07-14 21:42:17.961 [W] [client/service.go:317] connect to server error: dial tcp IP:7000: i/o timeout 2025-07-14 21:42:17.961 [I] [sub/root.go:167] frpc service for config file [.\frpc.toml] stopped login to the server failed: dial tcp IP:7000: i/o timeout. With loginFailExit enabled, no additional retries will be attempted ### Steps to reproduce 1. Start the FRPS 2. Start the FRPC 3. Issue replicated ... ### Affected area - [ ] Docs - [x] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [x] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@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.

<!-- gh-comment-id:3071643045 --> @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.
Author
Owner

@fatedier commented on GitHub (Jul 15, 2025):

This is usually a network issue, most likely related to the firewall.

<!-- gh-comment-id:3071653482 --> @fatedier commented on GitHub (Jul 15, 2025): This is usually a network issue, most likely related to the firewall.
Author
Owner

@Bln3 commented on GitHub (Jul 16, 2025):

This is usually a network issue, most likely related to the firewall.

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.

<!-- gh-comment-id:3076364004 --> @Bln3 commented on GitHub (Jul 16, 2025): > This is usually a network issue, most likely related to the firewall. 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.
Author
Owner

@Bln3 commented on GitHub (Jul 16, 2025):

I also tried completely disabling my local machines firewall completely, but no good.

<!-- gh-comment-id:3076368999 --> @Bln3 commented on GitHub (Jul 16, 2025): I also tried completely disabling my local machines firewall completely, but no good.
Author
Owner

@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

  1. Start the FRPS
  2. Start the FRPC
  3. Issue replicated
    ...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others


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: @.***>

<!-- gh-comment-id:3076375965 --> @BustedSec commented on GitHub (Jul 16, 2025): You neee to try nginx rev proxy config Get Outlook for Android<https://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 1. Start the FRPS 2. Start the FRPC 3. Issue replicated ... Affected area * Docs * Installation * Performance and Scalability * Security * User Experience * Test and Release * Developer Infrastructure * Client Plugin * Server Plugin * Extensions * Others — Reply to this email directly, view it on GitHub<https://github.com/fatedier/frp/issues/4881>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABYWWBZMWHPHILGJ4ZWF2KD3IRN4LAVCNFSM6AAAAACBQSE6YKVHI2DSMVQWIX3LMV43ASLTON2WKOZTGIZTANJQGEZTGNY>. You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Author
Owner

@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

<!-- gh-comment-id:3076645330 --> @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
Author
Owner

@Bln3 commented on GitHub (Jul 16, 2025):

I do wanna note I did try using UFW as well.

<!-- gh-comment-id:3076704124 --> @Bln3 commented on GitHub (Jul 16, 2025): I do wanna note I did try using UFW as well.
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#3851
No description provided.