How To Fix Connection Timed Out Minecraft Server

Minecraft is a sandbox video game produced by Mojang. Markus “Notch” Persson designed the game in the Java programming language. Following many early test versions, it was published as a paid public alpha for personal computers in 2009 prior released in November 2011, with Jens Bergensten taking over advancement. Minecraft has been ported to many other platforms and is one of the best-selling video-game of all time, with 200 million impressions sold and 126 million monthly active users as of 2020

The Minecraft “Server connection timed out” error arises when connecting to a server while playing Minecraft. The query should be analyzed from the host computer. This means that this query can be resolved when the error arises on your server.

You can do a few strange things regarding the problem, and users have backed out by posting the methods they have used to fix the problem successfully. Check them out here, and make sure you follow the guidance carefully!

How do I fix connections timed out on Minecraft?

There are so many ways to fix the connection timed-out issues on Minecraft. Some of the ways are mentioned below. Let’s look into them:

  • Check Minecraft Servers.
  • Reset Your Network Configurations.
  • Allow Minecraft on Your Firewall.
  • Temporarily Disable Your Antivirus Software.
  • Use Port Forwarding.
  • Change Your Minecraft Version.
  • Use VPN Services.

How do I fix connection timeout?

While you are browsing your favourite websites or playing your favourite games, one of the most annoying things is encountering a connection timed-out error. This is not your fault because the server you want to encounter has some issues or is probably not available. So what you want to do is wait and try after some time.

But sometimes, this error occurs because you have changed the windows settings consciously or unconsciously. If this problem occurs, make sure that you haven’t changed any settings on the windows that resulted in this problem.

Connection timed out Wi-Fi

  • This error message will appear on any PC, but according to users, it occurs most commonly while using a Wi-Fi connection.

Connection timed out Firefox, Chrome

  • Users stated this problem on all major browsers.
  • According to them, this problem seems mostly on Firefox and Chrome.

Connection either timed out or was lost

  • This is a regular variation of this message, and it seems mostly if your Internet connection is unresponsive.

Connection timeout TCP

  • In any rare case, this error can be made by your TCP configuration.
  • To fix this problem, you want to edit your TCP configuration manually.

Connection error timed out

  • This is another variety of this error, and you can fix it only by using one of the answers from this article.

Connection request timed out

  • This error message can seldom appear, and your network configuration typically causes it.
  • To fix it, you’ll need to make some changes to your network settings.

Connection attempt timed out

  • Sometimes your connection can get timed out due to some network issues.
  • After checking and fixing the issue, the problem should be resolved.

Connection server timed out

  • This problem appears typically if the server doesn’t react in time.
  • According to users, the problem is typically caused by a network problem.

The connection has been reset, closed by the server

  • Seldom can this error happen because the server blocked your connection?
  • If your configuration isn’t right, the server might reject your connection.

Has the disconnect reason timed out Minecraft?

What causes this error? There is the only thing in Minecraft that can cause the exact User to have disconnected, reason: Timed out a message, and that is a failure to receive a Keep-Alive packet from the customer in the expected time, or the other way around.

Based on this, we would assume this is presumably a network issue. Sadly, by default, Minecraft does not output logs at a level lower than INFO. To rectify this, we need a DEBUG level. How to get these?

Minecraft works with Log4j for logging. Thankfully, it is simple to override the configuration at runtime by moving a file, including new settings as part of the java arguments.

Let us start with the default log4j config 2 for Minecraft (this is the same for both customer and server sides).

In request to change to DEBUG level, we want to edit <Root level=”info”> to <Root level=”debug”>. We also want to remove the <filters> section, which is losing all network packets, despite level. Lastly, since we are dealing with connection times, we have modified the timestamp to %d{HH:mm: ss.SSS} to display milliseconds.

Once you save your changed configuration file three somewhere, you want to tell Minecraft to use it. To do so, add the following alternative to the java command, -Dlog4j.configurationFile=File:/home/drazisil/log4j_minecraft.xml, replacing the path to point to the full path and filename you chose.

We recommend attempting this on the customer who is having trouble first., hoping you can reproduce the problem, or they are ready to troubleshoot with you. You see for log lines like this:

  • [14:16:40.945] [Netty Epoll Client IO #0/DEBUG]: IN: [PLAY:21] ms
  • [14:16:40.947] [Netty Epoll Client IO #0/DEBUG]: OUT: [PLAY:15] QB

The logs are called packet ids and the Minecraft class names. You can get the packet id’s from the following link https://wiki.vg.

In this case, we can see that our customer received the client-bound Keep-Alive packet (21) at 14:16:40.945 and replied with a server-bound Keep-Alive packet (15) at 14:16:40.947, two milliseconds later.

Pretty great, so we know this isn’t a client CPU issue. The following step would be to repeat the process on the server end and see if the server received the packet at that same time.

How do I fix Minecraft connection problems?

If you have happily logged in to your game, you can sometimes still run into connection problems between your computer or network and the server you are attempting to connect to.

Possible solutions are:

  • Check your network connection is enabled, and no programs are stopping outgoing connections.
  • Try disabling any existing firewall by changing its configuration options.
  • Restart your modem or router.
  • You can also want to try logging out of your game or account and then logging back in, as this stimulates your profile’s authentication and connection with our servers.

What Causes the Minecraft Server Connection-Timed Out Error on the Windows?

There aren’t many exact causes to this problem, and they are all related to the same root: something is preventing the game’s proper way to the Internet. It could be the antivirus tool you have installed on your computer, firewall, or router.

Your antivirus tool can stop proper Internet access if it doesn’t recognize Minecraft as a simple program. Windows Defender Firewall is also wicked for blocking genuine apps from connecting to the Internet, but the query can also be with the PortPort used by default. The Port is 25565, and it can be prevented in your router, meaning you need to forward it.

Use a Different Antivirus Tool – Avast Blocking Minecraft Launcher

Free antivirus tools can be beneficial, and they can do their job of protecting your computer. Still, sometimes they don’t get along well with other things on your PC, and they cause a Minecraft server to fail to connect to the Internet server properly. Consider substituting your antivirus if it causes this problem while it’s turned on!

  1. Please tap on the Windows icon or Start menu and open the Control Panel by typing it or by searching for it or. Alternatively, you can click on the gear or settings icon to open settings using Windows 10.
  2. In the Control Panel, select view as – Category at the top right corner and tap on Uninstall a Program under the section called Programs.
  3. If you are dealing with the Settings app, click on Apps should instantly open a list of all installed programs on your PC.
  4. Locate your antivirus tool in the Control Panel or the Settings and click on the Uninstall option.
  5. The uninstall wizard should open, so follow the instructions to uninstall it.
  6. Click Finish when the uninstaller wizard completes the process of uninstalling and restart your computer to see any problems will still appear. Make sure you pick a better antivirus option. Also, check to see if the Minecraft “Server connection timed out” error appears to other players when trying to connect to your server!

Forward the 25565-Port in Your Firewall – Minecraft Server Keeps Timing Out

These ports require to be opened on the server computer for the entire game to function correctly. This requires to be done in the Windows Firewall, so make sure you understand the steps below to allow this PortPort to resolve the problem.

  1. Go to the Control Panel by searching for it or typing it in the Start menu and clicking on System and Security >> Windows Firewall. You can also change the view to Large or Small icons and click on Windows Firewall immediately.
  2. Choose the Advanced settings options and highlight Inbound Rules on the left side of the screen.
  3. Right-click on Inbound Rules and tap on New Rule. Under the Rule type section, select the Port option. Select TCP or UDP from the initial set of radio buttons (depending on which ports you are operating on) and switch the other radio button to “Specific local ports. You will need to specify the 25565-port for both TCP and UDP to fix your Minecraft server problem.
  4. Tap on the Allow connection radio button in the next window and click on the Next.
  5. Select the network model when you want to apply this rule. If you change from one network connection to another very often, it’s suggested that you keep all of the possibilities checked before clicking Next.
  6. Name the rule something which makes understanding to you and click Finish. Make sure you copy the exact steps for Outbound Rules (choose Outbound-rules in Step 2). Check to see if the Minecraft “Server connection-timed out” error comes to other players when trying to connect to your server!

Forward the Port in Your Router – Minecraft LAN Server Connection Timed Out

If you connect to the net through Wi-Fi, you should ensure that port 25565 is not used for something more in your router. To do that, you must assign a static IP to your Personal Computer and forward the PortPort to the Personal Computer. It will take a second, but it’s the most reliable way to resolve the problem if everything has failed! Follow these steps below carefully!

  1. Make sure to open a Command Prompt window by searching for “cmd” or “Command Prompt” in the Start menu.
  2. Type in the command displayed below and scrolled down towards the network adapter, which communicates with the connection you are using. Take a note of Default Gateway, Subnet Mask, MAC and DNS.
  3. After that, use the Windows + R key, which should immediately open the Run dialogue box where you want to type ‘ncpa.cpl’ in the bar and tap on OK to start the Internet Connection settings in the Control Panel.
  4. Left-click on your active network adapter and tap on the Properties Located the Internet Protocol Version 4 (TCP/IPv4) item on the list. Click on it, then select it and tap the Properties button below.
  5. Wait in the General tab and change the radio button in the Properties to “Use the following DNS server addresses” and use this 8.8.8 and 8.8.4.4, respectively. Change to “Use the following IP-address” and use the corresponding number as the Default Gateway; you took note of it but swap the last digit following the last dot so something else. Fill in the other information the same as you took note of.

Now it’s time to log in to the router and allow a few ports.

  1. Open your favoured Web browser, type your Default Gateway number (IP address) in the address bar, and click Enter. Enter the username and password. It should be available online.
  2. First, find the Enable Manual Assignment setting and click on the radio button next to Yes. Find the window that enables you to type in the MAC address and your wish’s IP address, so type everything you have gathered in the previous steps for your particular computer.
  3. After you completed that, click on the Add option, and you have instantly added your console’s IP number to your router.
  4. Discover the Port Forwarding section while yet logged into the router’s interface. Each router will give different steps to this.
  5. Enter a variety of ports to open Start and End or use single ports for internal and external traffic. Particularly for Minecraft servers, the only PortPort you want to forward is 25565. Ensure to add it for both the TCP and UDP!
  6. Insert the static IP address you have created for your PC in the steps above, and ensure you click on the Enable option if it is available.
  7. Click on the Save or Apply option and ensure you restart both your router and your Personal Computer to apply these changes entirely. Check to see if the server timeout issues still occur to everyone who tried to join using your server!

Using Different Version of Minecraft – Failed To Connect To The Server Minecraft

Minecraft regularly gets updates to fix specific bugs and glitches, but sometimes these new updated versions don’t support specific servers on the go. Hence, we will be using a different Minecraft version to get into a server in this step. For that:

  1. Open up the Minecraft Launcher and tap on the “Installations” button.
  2. Select the “New” button and click on the “version” dropdown menu.
  3. From here, choose any other version of the game without going for the currently running version and click on “Create”.
  4. This will now begin the version’s download, and it will be added to the installations menu.
  5. You can immediately select this version and strive to get into your desired server.
  6. Check if this method fixes the problem for you.

Check Server Status – Connection Timed Out Minecraft Server

In unusual cases, the issue might be with the server rather than the game or DNS. Hence, in this step, we will be reviewing the server’s status and then check that it is up and running. To do that:

  1. Click here to go to the server check website.
  2. Type the IP and click on “Get Server Status”.
  3. Check if the server is working.

Using Commands – Minecraft Server Keeps Timing Out

There might be issues where the game servers block the Internet connection or the IP in some cases. Hence, in this step, we will be using some instructions to reset the internet connection. To do that:

  1. Press the “Windows” + “R” button to open the command prompt.
  2. Type “cmd” and now press “Shift” + “Ctrl” + “Enter” to provide administrative privileges.
  3. Type the words, one by one and press “Enter” after each one.
  4. Restart your computer to see any changes to take effect and check to see if the issue persists.

Allowing Through Firewall – Connection Timed Out Minecraft Server

In some situations, the Java Platform might be prevented in Windows’ Firewall, blocking the connection from being established. If you are playing on a separate or private server, tell the server’s admin to do these steps on their PC hosting the server.

  1. Press the “Windows” + “R” button to open the Run prompt.
  2. Type the “Control” and then press “Enter” to open the control panel.
  3. Tap on the “System and Security” option and now select the “Windows Defender Firewall” button.
  4. On the left side, choose the “Allow an App through Firewall” button and choose the “Change Settings” option.
  5. Move down to check both the public and private for Java Platform SE Binary.
  6. Click on the “Apply” option to save your changes and check if the issue persists.

Use a VPN – Minecraft LAN Server Connection Timed Out

In unusual cases, your ISP might have blacklisted a couple of sites/IP addresses, due to which this problem might be triggered. Hence, it is prescribed to use a VPN to connect to the server and enable the connection before starting the game. You can look at many gaming VPNs until you find out the one that works the best for you.

Add LogMeIn Hamachi to your firewall’s exceptionsHamachi Minecraft Server Timed Out

  1. Open the WDF Control Panel as outlined for the resolution directly above.
  2. Click Allow the app or feature through Windows Defender Firewall.
  3. Tap the Change setting option.
  4. Click the Allow another app button.
  5. Click the Browse button.
  6. Choose the LogMeIn Hamachi.exe in the Browse window.
  7. Choose LogMeIn Hamachi on the Add an app window.
  8. Tap the Add button.
  9. Then tap OK to exit.

Adjust Hamachi’s IPV4 Interface metric value setting – Hamachi Minecraft Server Timed Out

  1. Press the Windows button + S keyboard shortcut.
  2. Type the word network inside the search box.
  3. Click the View network connections option to open the applet in the shot directly below.
  4. Right-tap the Hamachi network and select Properties.
  5. Select the Internet Protocol Version 4 on the Networking tab, and tap on the Properties button.
  6. Click the Advanced option on the General tab to open the window in the shot directly below.
  7. Deselect the Automatic metric checkbox if needed.
  8. Enter one as the current value in the Interface metric checkbox.
  9. Click on the OK buttons to close the windows.

Avast Blocking Minecraft Launcher – Failed to Connect to the Server Minecraft

Most people complained that their Avast Antivirus is blocking the Minecraft server’s launching, so they cannot play the game. To fix this, follow these steps:

  1. First of all, delete all the rules for the applications involved :
  2. Avast > Tools >Firewall > Application Rules > right-click on the application > Delete.
  3. Then set the Avast Firewall on Auto decide.
  4. Avast > Tools > Firewall > Settings > Policies > Default rules > Auto decide > OK.
  5. And complete the applications so that the Avast Firewall will create a new rule.

Of course, you can set the Avast Firewall back on Ask afterwards if you desire that.

Conclusion

These are the measures to be performed to fix the Connection Timed Out Issue in Minecraft Server. We hope that these steps or solutions will help you to play the game. Some of the steps will work for some users, and some may not work for others. So it would be great if you were patient in finding the solution to this problem. Enjoy playing Minecraft.

Leave a Comment