Minecraft is a popular video game that has been around for about a decade now. This game allows you to explore different worlds, thus providing a unique gaming experience. However, many Minecraft players have recently been complaining about getting the “connection timed out” error. This prevents you from playing the game online with friends, which can be quite disappointing to most multi-player lovers. If you have been going through the same problem, don’t worry. We have your back. Today’s article will discuss the best ways to resolve this error in Windows. Read on.

Why Can’t I Connect to a Lan World in Minecraft?

The “connection timed out” error is most likely to appear if you have an antivirus blocking its internet access, making it hard to run properly. However, this error could also be caused by other network issues.

How to Fix ‘Connection Timed Out’ Error in Minecraft

Although this error can be pretty confusing, it is still fixable. Below are some of the best methods that helped Windows users remove the “connection timed out” error from their machines.

Check If You Are Connecting to the Right Network

Before attempting to perform any fixes, we recommend that you first check if you and your friends are connected to the same network. If you want to play Minecraft online with other gamers, you must all be on the same network. If the connection is fine, but you are still getting the error in question, you might be dealing with a more serious culprit. So, move to the next tactic below.

Whitelist Minecraft in Your Firewall

The Windows Defender and other antivirus apps regularly scan your computer for malware threats and block anything they deem suspicious. However, sometimes these apps might block legit programs causing them to malfunction. Whitelisting Minecraft in your firewall can help avoid such problems that may trigger the “connection timed out” error on your PC.

Use this quick guide:

  1. Press the Windows logo key + R combination to bring up the Run dialog box.
  2. Type in “control” (without quotes) and then click on the OK button. This will open the Control Panel.
  3. Go to the “View by” dropdown menu in the top-right corner of the window and choose “Large icons”.
  4. Select Windows Defender Firewall.
  5. Click on the “Allow an app or feature through Windows Defender Firewall” link on the left side of the window.

Whitelist Minecraft in your firewall

  1. Click on the “Change settings” button under “Allow apps to communicate through Windows Defender Firewall”.
  2. Locate Minecraft on the list and select the Private and Public checkboxes.
  3. Click OK.
  4. Now check if the error has been removed from your computer.

Reset the Network Configurations

You might also run into the “connection timed out” error if Minecraft servers have blocked your IP address. Luckily, you can obtain a new one by resetting your machine’s network configurations, thus resolving the problem.

Here is how this works:

  1. Press the Windows + S keyboard shortcut to open the Windows search bar.
  2. Type in “command” (no quotes) and then right-click on the Command Prompt search result.
  3. Choose “Run as administrator” and then click “Yes” when the User Account Control window appears.
  4. When the elevated command prompt window opens, run the following commands one by one. Ensure you press Enter on your keyboard after entering a command.
  • iPConfig /release
  • iPConfig /flushdns
  • iPConfig /renew
  • netsh int ip
  • netsh int ip set dns
  • netsh winsock reset
  1. After running all the commands, close the CMD window.
  2. Reboot your PC and then check if the error will reappear.

Temporarily Disable Your Antivirus

Sometimes your antivirus can be a bit overprotective, thus preventing some programs from running completely on your device. If you whitelisted Minecraft on your antivirus and are still facing issues, applying this method might help. To fix this problem, try temporarily disabling your antivirus when playing Minecraft.

Follow these steps to do so:

  1. Press the Win + I key combo to open the Settings app.
  2. Go to Update & Security.
  3. Select Windows Security on the left menu pane.
  4. Head to the “Protection areas” section and choose “Virus & threat protection”.
  5. Click on the “Manage settings” link under “Virus & threat protection”.
  6. Disable the toggle button for “Real-time protection”.

Follow these steps to temporarily disable your antivirus

  1. Now check if the “connection timed out” error has been fixed.

If you have a third-party antivirus app, ensure you disable it too for better results. Better yet, look for a professional antivirus program that does not interrupt other installed apps. A good example is Auslogics Anti-Malware. This tool automatically scans your PC for malicious entities and immediately eliminates them. This helps ensure consistent protection against sneaky viruses. Plus, this program does not affect the performance of other applications. Therefore, you don’t have to turn off the protection when playing Minecraft, as that could leave your computer defenceless.

RECOMMENDED

Protect PC from Threats with Anti-Malware

Check your PC for malware your antivirus may miss and get threats safely removed with Auslogics Anti-Malware

Auslogics Anti-Malware is a product of Auslogics, certified Microsoft® Silver Application Developer
DOWNLOAD NOW

Enable the Network Discovery Feature

The network discovery feature usually allows other computers to easily find your servers and connect to them. This can come in pretty handy when playing Minecraft online with friends since you must be on the same server. Therefore, enabling it would reduce the chances of experiencing connection problems.

This guide will explain how to enable the network discovery feature on your Windows PC:

  1. Go to the bottom-right corner of the screen and right-click on the Wi-Fi or Ethernet icon.
  2. Choose Open Network & Internet Settings.
  3. Select Network and Sharing Center under the “Advanced network settings” section.
  4. Click on the “Change advanced sharing settings” link on the left side of the window.
  5. Expand the “Private” section by clicking on the dropdown arrow beside it. Then choose “Turn on network discovery”.

Here is how to enable the network discovery feature on your Windows PC

  1. Do the same for “Guest or Public”.
  2. Then click on the “Save changes” button to finish the process.
  3. Now check if the problem has been solved.

Update the Network Driver

Sometimes, when facing network issues, the network driver is usually the culprit. This is because this driver is responsible for ensuring all network-related functions run smoothly on your machine. Therefore, if this driver is missing, outdated, or damaged, you will likely see errors such as the “connection timed out” error.

Here is how to update it:

  1. Press the Windows logo key + S combination to open the search box.
  2. Type in “device” (without quotes) and then select the Device Manager search result.
  3. On the new window, scroll to find the “Network adapters” section. Then double click on it to expand it.
  4. Now right-click on your Network driver and choose “Update driver”.
  5. Select “Search automatically for drivers”.

Here is how to update the network driver

  1. Then wait for the driver to be automatically installed on your PC.
  2. Reboot the machine once the process completes.
  3. The error should not appear now.

Conclusion

We hope you now understand how to fix Minecraft server connection timed out in Windows. If you used different methods to remove this error from your computer, please share them with us below. Also, check out our blog for more helpful Windows guides like this one.