I can't play online. I can only play solo. I have bought Minecraft so it should work fine, but, when I try to connect to a server, it says:

Internal client error: java.net.UnknownHostException: session.minecraft.net

I have tried over 20 different servers and it says the same thing for every single one.

Note: These are not Hamachi servers. I'm attempting a direct connection.

  • Your copy of MC can't communicate with the servers for whatever reason. This sounds like more of an issue with your network connectivity than with the game. – fredley Jul 4 '12 at 16:28
  • 5
    UnknownHostException is thrown when DNS cannot resolve an IP address. It is usually due to issues with your DNS, proxy, or firewall. Try connecting to a server using the IP address directly. – BlueRaja - Danny Pflughoeft Jul 4 '12 at 18:21
  • Why would Hamachi influence it? I'm just curious, I don't know all too much about these things myself. – The Ugly Dec 20 '13 at 7:00

Quote from Kristoffer Jelbring, the Mojang web guy: "If you get an UnknownHostException when trying to join a MC server your DNS record is most likely outdated."

See this link for instructions on refreshing your DNS.

Source: Twitter @KrisJelbring

protected by Community Dec 2 '12 at 18:11

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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