I've been playing Minecraft a lot recently, and about a week ago I began getting this error message " java.net.connectException:connection timed out:connect", whenever I try to connect to a server. I looked it up, and some posts said something about a "Hosts" file, but my Hosts file is apparently a sample one, or something. Anyone having the same problem or think they can help?
OK, then it is most likely something on your computer that is blocking the connection. Most commonly, it's a firewall or antivirus software.
Close *all* other programs - including any anti-virus, firewall, ad-blocker. Spotify, email notification, Apple iTunes, adobe updater... *everything*. Just temporarily. If you're using Windows firewall - turn it off.
Sometimes, it is necessary to uninstall the anti-virus program, not just disable it.
You said it worked until "about a week ago" - what's changed? Perhaps something has been installed?
Did that, didn't work. I dunno about what changed. Just woke up one day and couldn't connect. Also, I noticed that if I add a server to the list it doesn't display anything.
Edit: This is getting dumb. If someone doesn't reply soon I'm gonna have to bump this again.
Notepad SHOULD pop up, copy everything in there and put it up here.
It is here as follows:
Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Remove the # things in front of 127.0.0.1 and ::1. (You need an administrator's account to do this, you may even need special read/write access)
This is a temp fix, and really not good in the long run (May cause problems with Hamachi, port-forwarding, basic networking etc) but you can always add the #'s back in again.
P.S Remember to save!!!
This post is entirely speculation on what I think "should" work. I am not responsible for any damage done to your computer, nor can I fix every problem that may occur. I will respond with "My bad" and that will be the end of it.
It fails consistently and with every server
Did that, didn't work. I dunno about what changed. Just woke up one day and couldn't connect. Also, I noticed that if I add a server to the list it doesn't display anything.
Edit: This is getting dumb. If someone doesn't reply soon I'm gonna have to bump this again.
The days of youth...
Yes, I did it a bit before you posted.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIf you're on Windows.... :3
I am on Windows. FML.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumHit Start-R, then put this in the box:
Notepad SHOULD pop up, copy everything in there and put it up here.
It is here as follows:
Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThis is a temp fix, and really not good in the long run (May cause problems with Hamachi, port-forwarding, basic networking etc) but you can always add the #'s back in again.
P.S Remember to save!!!
This post is entirely speculation on what I think "should" work. I am not responsible for any damage done to your computer, nor can I fix every problem that may occur. I will respond with "My bad" and that will be the end of it.