3

My friend had hosted a Minecraft server before and brought it back up today with my help. He and anyone in his LAN can connect. However we have had a few people try to connect, including me, and when we try to connect it gives the message:

Failed to connect to the server

Connection timed out: connect

What does this exactly mean? How do we fix this?

1 Answer 1

4

Could be multiple reasons. But basically your game asked to be connected and never received a response.

Usually you want to check :

  • Firewall settings
  • Router/modem settings (port redirection)
  • IP config of the minecraft server (he should listen from the IP of your PC or 0.0.0.0, not 127.0.0.1)
  • Check you specify the right port in the connection box
  • That you use the correct IP address or server name (and that he does resolve correctly)
  • That your server has a working internet connection as well
3
  • the only thing i understand there is the firewall settigns wich i already let minecraft through but i dont know how 2 do the rest.:( little help youtube videos or anything?
    – user31097
    Commented Aug 20, 2012 at 14:58
  • 1
    @super We can't really give Networking 101 lessons here. Google is a good first stop for learning what IP addresses are and how servers and clients use them. Commented Aug 25, 2012 at 15:39
  • I had this problem too, when hosting on a Mac. It turns out that Java on Mac tries to use IPv6 to respond to IPv4 connections, which of course fails. You can try adding this setting: -Djava.net.preferIPv4Stack=true
    – qris
    Commented Apr 30 at 18:13

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