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.
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!
- 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.
- In Control Panel, select to View as – Category at the top right corner and click on Uninstall a Program under the Programs section.
- If you are using the Settings app, clicking on Apps should immediately open a list of all installed programs on your PC.
- Locate your antivirus tool in Control Panel or Settings and click on Uninstall.
- Its uninstall wizard should open so follow the instructions to uninstall it.
- 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.
- 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.
- Select the Advanced settings options and highlight Inbound Rules in the left section of the screen.
- 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.
- Select the Allow the connection radio button in the next window and click Next.
- 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.
- 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!
- Make sure you open a Command Prompt window by searching for “cmd” or “Command Prompt” in the Start menu.
- 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
- 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.
- 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.
- 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 126.96.36.199 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.
It’s time to log in to your router and allow a few ports.
- 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.
- 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.
- After you have done that, click on the Add option and you have now added your console’s IP address to your router.
- Find the Port Forwarding section while still logged into your router’s interface. Each router will provide different steps for this.
- 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!
- 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.
- 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!