[GH-ISSUE #2115] Game Server cant be Pinged or reached (error: dial tcp ip:port: connect: connection refused) #1680

Closed
opened 2026-05-05 13:04:30 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @ghost on GitHub (Nov 26, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2115

[REQUIRED] hat version of frp are you using

Version: v0.34.3

[REQUIRED] What operating system and processor architecture are you using
OS: Ubuntu 20.04.1 LTS
CPU architecture: Home Server: AMD Ryzen 3400G(arm64) / VPS Server Intel(R) Xeon(R) CPU E5-2620 v3(arm64)

[REQUIRED] description of errors
When Server and client are perfectly fine connected and a ping is beeing sent to the Minecraft Server (by clicking refresh) the Proxy gets a Connection refused Error

[proxy.go:793] [5f58084e5a63e00b] [Minecraft] connect to local service [127.0.0.1:25566] error: dial tcp 127.0.0.1:25566: connect: connection refused

confile

[Minecraft]
type = tcp
local_port = 25566
remote_port = 25566

log file

https://pastebin.com/8TAUbrs7

Steps to reproduce the issue

  1. Start Proxy like normal and have Minecraft server started
  2. Try Pinging Server

Supplementary information

Can you guess what caused this issue
No

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
Originally created by @ghost on GitHub (Nov 26, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2115 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version: v0.34.3 **[REQUIRED] What operating system and processor architecture are you using** OS: Ubuntu 20.04.1 LTS CPU architecture: Home Server: AMD Ryzen 3400G(arm64) / VPS Server Intel(R) Xeon(R) CPU E5-2620 v3(arm64) **[REQUIRED] description of errors** When Server and client are perfectly fine connected and a ping is beeing sent to the Minecraft Server (by clicking refresh) the Proxy gets a Connection refused Error [proxy.go:793] [5f58084e5a63e00b] [Minecraft] connect to local service [127.0.0.1:25566] error: dial tcp 127.0.0.1:25566: connect: connection refused **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> [Minecraft] type = tcp local_port = 25566 remote_port = 25566 **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> https://pastebin.com/8TAUbrs7 **Steps to reproduce the issue** 1. Start Proxy like normal and have Minecraft server started 2. Try Pinging Server **Supplementary information** **Can you guess what caused this issue** No **Checklist**: <!--- Make sure you've completed the following steps (put an "X" between of brackets): --> - [x] I included all information required in the sections above - [x] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
Author
Owner

@fatedier commented on GitHub (Nov 27, 2020):

Run netstat -antp|grep 25566 to see if your local service listen on this port?

<!-- gh-comment-id:734607650 --> @fatedier commented on GitHub (Nov 27, 2020): Run `netstat -antp|grep 25566` to see if your local service listen on this port?
Author
Owner

@ghost commented on GitHub (Nov 27, 2020):

I am sure that the service is running because im able to connect to the server locally over lan

i used a normal reverse shell before but wanted to simplefy things with a proxy

the reverse shell is still working properly and i can acess the minecraft server over my vps public ip adress

but when i try to use the proxy instead it always ends in the same error

<!-- gh-comment-id:734668164 --> @ghost commented on GitHub (Nov 27, 2020): I am sure that the service is running because im able to connect to the server locally over lan i used a normal reverse shell before but wanted to simplefy things with a proxy the reverse shell is still working properly and i can acess the minecraft server over my vps public ip adress but when i try to use the proxy instead it always ends in the same error
Author
Owner

@fatedier commented on GitHub (Nov 27, 2020):

Can you just paste the outputs of cmd i write above?

<!-- gh-comment-id:734670730 --> @fatedier commented on GitHub (Nov 27, 2020): Can you just paste the outputs of cmd i write above?
Author
Owner

@ghost commented on GitHub (Nov 27, 2020):

Heres the Line u requested
netstat -antp|grep 25566
tcp 0 0 192.168.0.51:25566 0.0.0.0:* LISTEN 1979/docker-proxy

maybe it is useful when i also tell u that the minecraft server is running over the website pterodactyl that creates docker containers

<!-- gh-comment-id:734939896 --> @ghost commented on GitHub (Nov 27, 2020): Heres the Line u requested netstat -antp|grep 25566 tcp 0 0 192.168.0.51:25566 0.0.0.0:* LISTEN 1979/docker-proxy maybe it is useful when i also tell u that the minecraft server is running over the website pterodactyl that creates docker containers
Author
Owner

@Becods commented on GitHub (Nov 28, 2020):

Heres the Line u requested
netstat -antp|grep 25566
tcp 0 0 192.168.0.51:25566 0.0.0.0:* LISTEN 1979/docker-proxy

maybe it is useful when i also tell u that the minecraft server is running over the website pterodactyl that creates docker containers

Your listening address is 192.168.0.51, so have you configured it correctly in the frpc.ini file?

<!-- gh-comment-id:735275886 --> @Becods commented on GitHub (Nov 28, 2020): > Heres the Line u requested > netstat -antp|grep 25566 > tcp 0 0 192.168.0.51:25566 0.0.0.0:* LISTEN 1979/docker-proxy > > maybe it is useful when i also tell u that the minecraft server is running over the website pterodactyl that creates docker containers Your listening address is 192.168.0.51, so have you configured it correctly in the frpc.ini file?
Author
Owner

@ghost commented on GitHub (Nov 28, 2020):

Oh, I fixed it!
It was really just setting additional value local_ip = 192.168.0.51 and it worked.
I fell really stupid.... but thanks so much for the help

<!-- gh-comment-id:735278922 --> @ghost commented on GitHub (Nov 28, 2020): Oh, I fixed it! It was really just setting additional value local_ip = 192.168.0.51 and it worked. I fell really stupid.... but thanks so much for the help
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#1680
No description provided.