Jump to content

Hey,

i have a minecraft Server running remotely on a Ubuntu 22.04-Server, that has some weird connection issues, that I don't understand. Can you help me?

So, If I try to connect to the server from the wifi it is on with a 192.blabla-adress, everything is working fine.

When i ping it from another wifi, the server responds.

When trying to connect to the server via ssh remotely, it doesn't respond and leaves a "timed out" error on my end.

When trying to connect to the Minecraft-Server, that is running on the Server, it can't connect and leaves me this error: Cannot invoke "java.net.InetAdress.getHostAdress()" because the return value of "java.net.InetSocketAdress.getAdress()" is null" and on the server list it says " Can't reach server".

 

Do you have any idea, how to make everything work again? Everything was working fine, until I swapped the ethernet cable from Port 2 on the Server to Port 1, but I don't think that is the solution to my problem, since it works partially. I currently do not have access to the server physically, only remotely via my Teamviewer-PC, that can ssh onto it (and has access to the router aswell).

Link to comment
https://linustechtips.com/topic/1541572-connection-issues-with-server/
Share on other sites

Link to post
Share on other sites

24 minutes ago, Privat344 said:

Hey,

i have a minecraft Server running remotely on a Ubuntu 22.04-Server, that has some weird connection issues, that I don't understand. Can you help me?

So, If I try to connect to the server from the wifi it is on with a 192.blabla-adress, everything is working fine.

When i ping it from another wifi, the server responds.

When trying to connect to the server via ssh remotely, it doesn't respond and leaves a "timed out" error on my end.

When trying to connect to the Minecraft-Server, that is running on the Server, it can't connect and leaves me this error: Cannot invoke "java.net.InetAdress.getHostAdress()" because the return value of "java.net.InetSocketAdress.getAdress()" is null" and on the server list it says " Can't reach server".

 

Do you have any idea, how to make everything work again? Everything was working fine, until I swapped the ethernet cable from Port 2 on the Server to Port 1, but I don't think that is the solution to my problem, since it works partially. I currently do not have access to the server physically, only remotely via my Teamviewer-PC, that can ssh onto it (and has access to the router aswell).

Is the other wifi on the same subnet? 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×