How to Fix the Minecraft Server Connection Timed Out Error on Windows?

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

Minecraft Server Connection Timed Out

There are a few different things you can do regarding the problem and users have helped out by posting the methods they have used to successfully resolve the problem. Check them out below and make sure you follow the instructions carefully!

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

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

Your antivirus tool can prevent proper Internet access if it doesn’t recognize Minecraft as a genuine program. Windows Defender Firewall is also notorious for blocking genuine apps from connecting to the Internet but the problem can also be with the port which is used by default. The port is 25565 and it can also be blocked in your router, meaning you need to forward it.

Solution 1: Use a Different Antivirus Tool

Free antivirus tools can be quite helpful and they can do their job protecting your computer but sometimes they just don’t get along well with other things on your computer and they cause Minecraft to fail to connect to the Internet properly. Consider replacing your antivirus if it causes this problem while it’s turned on!

  1. Click on the Start menu and open Control Panel by searching for it. Alternatively, you can click on the gear icon to open settings if you are using Windows 10.
  2. In Control Panel, select to View as – Category at the top right corner and click on Uninstall a Program under the Programs section.
Uninstall a program in Control Panel
  1. If you are using the Settings app, clicking on Apps should immediately open a list of all installed programs on your PC.
  2. Locate your antivirus tool in Control Panel or Settings and click on Uninstall.
  3. Its uninstall wizard should open so follow the instructions to uninstall it.
Uninstalling Avast
  1. Click Finish when the uninstaller completes the process and restart your computer to see whether errors will still appear. Make sure you choose a better antivirus option. Check to see if the Minecraft “Server connection timed out” error appears to other players when trying to connect to your server!

Solution 2: Forward the 25565 Port in Your Firewall

These ports need to be opened on the server computer for the whole game to function properly. This should be done in Windows Firewall so make sure you follow the steps below to allow this port through and resolve the problem.

  1. Navigate to Control Panel by searching for it in the Start menu and click on System and Security >> Windows Firewall. You can also switch the view to Large or Small icons and click on Windows Firewall instantly.
Opening the Windows Firewall
  1. Select the Advanced settings options and highlight Inbound Rules in the left section of the screen.
  2. Right-click on Inbound Rules and click on New Rule. Under the Rule type section, select Port. Select TCP or UDP from the first set of radio buttons (depending on which ports you are working on) and switch the second radio button to “Specific local ports. You will need to specify the 25565 port for both TCP and UDP to fix the problem with your Minecraft server.
  3. Select the Allow the connection radio button in the next window and click Next.
Forwarding the 25565 port in Widows Defender FIrewall
  1. Select the network type when you want to apply this rule. If you switch from one network connection to another quite often, it’s recommended that you keep all of the options checked before clicking Next.
  2. Name the rule something which makes sense to you and click Finish. Make sure you repeat the same steps for Outbound Rules (choose Outbound rules in Step 2). Check to see if the Minecraft “Server connection timed out” error appears to other players when trying to connect to your server!

Solution 3: Forward the Port in Your Router

If you are connecting to the Internet via Wi-Fi, you should make sure that the port 25565 is not being used for something else in your router. To do that, you need to assign a static IP to your PC and forward the port to the PC. It will take a while but it’s the best way to resolve the problem if everything above has failed! Follow the steps below carefully!

  1. Make sure you open a Command Prompt window by searching for “cmd” or “Command Prompt” in the Start menu.
Running an administrative Command Prompt
  1. Type in the command which will be displayed below and scroll down towards the network adapter which corresponds with the connection you are using. Take note of Default Gateway, Subnet Mask, MAC and DNS
ipconfig /all
Running the ‘ipconfig’ command
  1. After that, use the Windows + R key combo which should immediately open the Run dialog box where you need to type ‘ncpa.cpl’ in the bar and tap OK to open the Internet Connection settings item in Control Panel.
Opening network settings in Control Panel
  1. Left-click your active network adapter and click on the Properties Locate the Internet Protocol Version 4 (TCP/IPv4) item on the list. Tap on it to select it and click the Properties button below.
IPv4 >> Properties
  1. Stay in the General tab and switch the radio button in the Properties window to “Use the following DNS server addresses” and use 8.8.8 and 8.8.4.4 respectively. Switch to “Use the following IP address” and use the same number as the Default Gateway you took note of but change the last digit after the last dot so something else. Fill out other information the same as you took note.
Setting up Google’s DNS address

It’s time to log in to your router and allow a few ports.

  1. Open your preferred Web browser, type your Default Gateway number (IP address) into the address bar, and press Enter. Enter the username and password. It should be available online.
Logging into your router
  1. First of all, find the Enable Manual Assignment setting and click the radio button next to Yes. Locate the window which allows you to type in the MAC address and the IP address of your choice so type in everything you have gathered in the previous steps for your respective computer.
Enable Manual Assignment
  1. After you have done that, click on the Add option and you have now added your console’s IP address to your router.
  2. Find the Port Forwarding section while still logged into your router’s interface. Each router will provide different steps for this.
  3. Enter a range of ports to open under Start and End or use single ports for internal and external traffic. Especially, for Minecraft servers, the only port you need to forward is 25565. Make sure you add it for both TCP and UDP!
  4. Enter the static IP address you created for your PC in the steps above and make sure you click on the Enable option if it is available.
Port forwarding in your router
  1. Click on the Save or Apply button and make sure you restart both your router and your PC to fully apply these changes. Check to see if server timeout issues still occur to everyone who tried to join your server!

Solution 4: Using Different Version of Minecraft

Minecraft usually gets updates to fix certain bugs and glitches but sometimes these new updated versions aren’t supported by certain servers on the go. Therefore, in this step, we will be using a different version of Minecraft to get into a server. For that:

  1. Open up the Minecraft Launcher and click on the “Installations” button.
    Clicking on the “Installation” option
  2. Select the “New” option and click on the “version” dropdown menu.
    Clicking on “New”.
  3. From here, select any other version of the game except for the currently running one and click on “Create”.
  4. This will now begin the download of that version and it will be added to the installations menu.
  5. You can now select this version and attempt to get into your desired server.
  6. Check to see if this fixes the issue for you.

Solution 5: Check Server Status

In some cases, the issue might be with the server instead of the game or DNS. Therefore, in this step, we will be checking the status of the server and then verify that it is up and running. In order to do that:

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

Solution 6: Using Commands

In some cases, there might be issues where the Internet connection or the IP is being blocked by the game servers. Therefore, in this step, we will be using some commands to reset the internet connection. In order to do that:

  1. Press “Windows” + “R” to open the command prompt.
  2. Type in “cmd” and press “Shift” + “Ctrl” + “Enter” to provide administrative privileges.
    Running the Command Prompt
  3. Type in the following commands one by one and press “Enter” after each one.
    ipconfig /release
    ipconfig /flushdns
    ipconfig /renew
    netsh int ip
    netsh int ip set dns
    netsh winsock reset
  4. Restart your computer for some changes to take effect and check to see if the issue persists.

Solution 7: Allowing Through Firewall

In certain situations, the Java Platform might be blocked in Windows’ Firewall which might be preventing the connection from being established. Especially if you are playing on a private server, tell the admin of the server to do these steps on their computer hosting the server as well.

  1. Press “Windows” + “R” to open the Run prompt.
  2. Type in “Control” and press “Enter” to open the control panel.
    Accessing the Classic Control Panel interface
  3. Click on the “System and Security” option and select the “Windows Defender Firewall” button.
  4. In the left pane, select the “Allow an App through Firewall” button and select the “Change Settings”  option.
    Click on Allow an app or feature through Windows Defender Firewall
    Click on Allow an app or feature through Windows Defender Firewall
  5. Scroll down and check both public and private for Java Platform SE Binary.
  6. Click on “Apply” to save your changes and check to see if the issue persists.

Solution 8: Use a VPN

In some cases, your ISP might have blacklisted a couple of sites/IP addressed due to which this issue might be triggered. Therefore, it is recommended to use a VPN in order to connect to the server and make sure to enable the connection before starting the game. You can look at a bunch of gaming VPNs until you find out the one that works the best for you.

Kevin Arrows


Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

How to Fix the Minecraft Server Connection Timed Out Error on Windows?

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested

Close