Minecraft not able to connect to LAN server game. Error "Failed to connect to the server​ java.net.ConnectException: Connection timed out: no further information"

Running Minecraft 1.8.1, trying to have a LAN game.

The client can see the server listed when selecting Multiplayer from within the game menu, but when trying to connect it tries to connect (with message "Connecting to server..." for about 30 seconds then times out with the error:

Failed to connect to the server
Java.net.ConnectException: Connection timed out: no further information:

This did work previously, but stopped working soon (or maybe immediately?) after upgrading the launcher on the PC running the server to a non-java version. Not 100% sure if the problem is related.

Can anyone help me fix this? Thanks
LVL 35
Terry WoodsIT GuruAsked:
Who is Participating?
 
Natty GregConnect With a Mentor In Theory (IT)Commented:
check your firewall and make sure  the services is able to pass through, usually udp/tcp connection
0
 
Terry WoodsIT GuruAuthor Commented:
The PC I want to run Minecraft on as the client is running Windows 8. I found a menu option "Allow an App Through Windows Firewall" but there was no mention of Minecraft in the listed apps. Java is listed, but it's allowed through.

The PC I want to run Minecraft on as the server is running Windows 7. This was the copy I recently updated the version of the launcher on. There is a similar option available from the start menu "Allow a Program Through Windows Firewall". Again, there was no mention of Minecraft, but Java was listed 3 times. Only the first item had the checkbox to the left of it checked.

Selecting each Java option and clicking Details revealed that the 3rd one used path:
C:\program files (x86)\minecraft\runtime\jre-x64\1.8.0_25\bin\javaw.exe

Enabling that by checking the checkbox on the left got it working.... yay!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.