1

Im trying to set up a minecraft server on a centos 7 vm so that my friends and I can play. I've been following a guide on how to set it up and was able to make it all the way through until the actual connecting to the server part.

I've made sure there is a port exception for 25565, and when I use ss -natu it shows the the port is listening for a connecting from java... though everytime I try to connect I keep getting the io.netty.channel.abstractchannel$annotatedconnectexception connection timed out error.

Not sure if I dont have the firewalld set up properly or if something else is the matter.

Thanks for reading and any help is much appreciated! If you need more info just ask and I will try to get it to you as quick as possible.

  • 1
    Are you sure that the port forwarding works the same when using a VM? It might not appear as its own device in your router, in that case you might only grant access to the host system, not the VM. – Fabian Röling Oct 3 at 12:17
0

Are you using bridged or NAT mode on your VM? Also, on CentOS, SELinux may be preventing you from connecting. Check out this link for instructions on how to work around that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.