Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Failed #65

Closed
Slddev opened this issue Feb 9, 2021 · 6 comments
Closed

Connection Failed #65

Slddev opened this issue Feb 9, 2021 · 6 comments
Labels
wontfix Not a bug

Comments

@Slddev
Copy link

Slddev commented Feb 9, 2021

I set up rcon on my server and it seems to be working on the server. Trying to connect to the server results to an error "Connection Failed" with no further info. The server is PaperMC 1.16.5. I tried using the launch.bat and the cmd. Both didn't work. Using mcrcon 7.1

@Tiiffi
Copy link
Owner

Tiiffi commented Feb 9, 2021

Hi,

Unfortunately current Windows build of mcrcon doesn't report network errors properly (I should fix this) so it can be harder to debug what's going on.

Anyway, are you connecting from local network or internet?
Check from server log which ip address is binded to rcon.
Also make sure that rcon port is not blocked by firewall or NAT.

@Slddev
Copy link
Author

Slddev commented Feb 10, 2021

Hi,

Unfortunately current Windows build of mcrcon doesn't report network errors properly (I should fix this) so it can be harder to debug what's going on.

Anyway, are you connecting from local network or internet?
Check from server log which ip address is binded to rcon.
Also make sure that rcon port is not blocked by firewall or NAT.

I am connecting outside of my local network
Server Log doesn't show any signs of rcon connection
I turned off my antivirus and firewall.

With all of that in place the same error still happens.

@Tiiffi
Copy link
Owner

Tiiffi commented Feb 11, 2021

Server Log doesn't show any signs of rcon connection

Does the server show that rcon is actually running?
It should look something like this: [07:38:26] [RCON Listener #2/INFO]: RCON running on 0.0.0.0:25575

Make sure that enable-rcon is set to true in "server.properties".

You could also try to use different port for rcon and see if that helps.

@Slddev
Copy link
Author

Slddev commented Feb 11, 2021

Server Log doesn't show any signs of rcon connection

Does the server show that rcon is actually running?
It should look something like this: [07:38:26] [RCON Listener #2/INFO]: RCON running on 0.0.0.0:25575

Make sure that enable-rcon is set to true in "server.properties".

You could also try to use different port for rcon and see if that helps.

image
Yes it is enabled.

@Tiiffi Tiiffi added the wontfix Not a bug label Mar 1, 2021
@Tiiffi
Copy link
Owner

Tiiffi commented Mar 1, 2021

Most likely not a problem in mcrcon.

@Tiiffi Tiiffi closed this as completed Mar 1, 2021
@Piecuuu
Copy link

Piecuuu commented May 8, 2022

As seen in the image, the rcon is using the port 23595. Make sure to open this port in your router if you are hosting by yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix Not a bug
Projects
None yet
Development

No branches or pull requests

3 participants