How to fix the bug in Minecraft

Minecraft is a critically acclaimed sandbox survival game developed by Mojang Studios. The game is written in the Java programming language and was officially released in November 2011. The game has been well received by players and its popularity has grown over the years. Today, Minecraft is the best-selling game of all time, with a circulation of about 200 million copies. In 2020, the game has over 120 million active users.

Minecraft offers open gameplay with different game modes that allow players to play the game the way they want. The game offers both single-player and multiplayer, with multiplayer being very popular. This allows players to work together to achieve goals and compete against each other.

Minecraft is available on almost all platforms, including Windows, macOS, Linux, Xbox, PlayStation, and Android. In 2017, Mojang Studios released an update that included cross-platform play. It also supports community-created mods such as texture packs, custom maps, and quality of life mods such as minima, waypoints, etc. In short, this game has a lot to offer most players.

However, an estimated 20 percent of players encounter a bug known as that prevents them from connecting to cooperative play over a local network or the Internet. And this problem can go beyond a single server, as players cannot connect to anyone’s server.

Depending on your version of Minecraft, you may get an error message that looks like this:

  • connection timeout
  •$AnnotnotatedConnectException: The connection has expired.
  • Channel$AnnotatedConnectReception: connection refused: no more information available.

The error text does not give too much information, but it does mean that there is a problem with the connection. The text may vary slightly, but the basic problem, which is the inability to connect to the server, is the same. This error can occur for various reasons, such as the Windows Defender firewall or third-party antivirus software preventing Minecraft from connecting to the Internet.

What causes error in Minecraft

After receiving many reports from several users, we investigated the problem and came up with several solutions that solved the problem for most users. We also looked at the causes that cause the error and listed them below. These include:

  • IP problem: In some cases, the problem is caused by the wrong IP address or a port specified when trying to connect to the server. The correct IP address and port are used to send your connection to the server, and the connection is established as soon as the server approves it. Unless you use a static IP address, which is rare, the IP address assigned to you by your ISP will change from time to time, and multiple users may be assigned to the same IP address. Therefore, the IP address must be changed from time to time.
  • Firewall: It is also possible that the Windows firewall you are using is blocking your connection to the server. The Java files and the game directory must be added to the Windows firewall exception list in order for the game to properly connect to the server.
  • Outdated Java: Minecraft requires that the Java software be updated to the latest version in order for the game to work properly. If Java is outdated on your device and the launcher has been updated to the latest version, this may cause conflicts with some elements of the game and prevent you from properly connecting to the server.
  • Incompatible Software: There is a list of software that is not compatible with Minecraft and will cause problems when installed on the computer you are trying to connect to the server. Minecraft has an official list of software that is not compatible with the game and will cause conflicts.

Now that you have a basic understanding of the problem, let’s move on to solutions. It is recommended that you try these solutions in the right order to avoid conflicts.

Fix the error in Minecraft

Reset router

Resetting the router is a simpler solution that can solve the error for some players. You can do this by turning off the router and disconnecting it. Then plug the router back in and turn it back on after a few minutes.

Some users have also confirmed that resetting the router to factory settings fixed the problem for them. To reset your router to factory defaults, press and hold the reset button for 10-30 seconds.

Usually, a paper clip is required to press the reset button on the router. Note that resetting the router in this way also erases all user settings on the router.

Check firewall application permissions

  1. The error is often caused by the Windows Defender firewall blocking the connection to the Minecraft server. To solve this problem, press the key combination Windows + S.
  2. Then type firewall as the search term in the text box.
  3. Click Windows DefenderFirewall to open the Control Panel, as in the entry below.
  4. Click Allow application or feature through Windows Defender Firewall to open the firewall application settings.
  5. Click Change settings to configure the firewall options.
  6. Next, check all public and private fields for the Java (TM) Platform SE binary, as shown below.
  7. Click on the OK option.

Disable Windows Defender Firewall

  1. You can also disable the Windows Defender firewall to make sure that it cannot block the connection to the Minecraft server. Open the WDF Control Panel applet as described in the second solution.
  2. Click Enable or Disable Windows Defender Firewall on the left side of the Control Panel applet to open other options.
  3. Click Disable Windows Defender Firewall (not recommended).
  4. Then click OK to confirm the settings.

Change the server information before connecting to the server

  1. Try entering the server address information manually before connecting to the server. First, press the Windows + R key to start.
  2. Type cmd in the Open field and press Enter to run the command prompt.
  3. Type ipconfig at the command prompt and press Enter.
  4. Note the specified IPv4 address.
  5. Then open a File Explorer window.
  6. Open the path to this folder in File Explorer: Minecraft Servers folder -> Maxwell (Random Numbers) -> MinecraftServer.
  7. Click on the file to open it in Notepad.
  8. Note the port number listed in the files.
  9. Open Minecraft and select the “Play Multiplayer” option.
  10. Select the server you want to join.
  11. Click the Edit button to open the server information.
  12. In the Server Name field, enter any name you want.
  13. In the Address field, enter the IPv4 address and port number in the following format: XXX.XXX.X.X:YYYYY. The X represents the IPv4 address and the Y represents the port number.
  14. Click the Done button.
  15. Select the Refresh option.
  16. Then select the Join Server option.

Frequently Asked Questions

  1. Add exceptions to the firewall settings in the Minecraft folder.
  2. Remove unstable software.
  3. Add an IP address and select an appropriate working port.
  4. Reboot the modem/router.
  5. Use a reliable VPN connection source.
  6. Update Java software.
  7. Reinstall the Minecraft vessel.

  1. Restart Minecraft.
  2. Reboot the computer.
  3. Uninstall and reinstall Minecraft.
  4. Uninstall and reinstall Java.
  5. Change the firewall.
  6. Restart your internet.

  1. Check your Minecraft servers.
  2. Reset your network settings.
  3. Allow Minecraft in your firewall.
  4. Temporarily disable your antivirus software.
  5. Use port redirection.
  6. Change your version of Minecraft.
  7. Use VPN services.

Simply put, it's a connection error when the computer you're on tries to connect to the Minecraft server you chose, and that connection fails either because the server you connect to doesn't recognize your request or because it can't send the signal back to Minecraft.

Website | + posts

Mark Ginter is a tech blogger with a passion for all things gadgets and gizmos. A self-proclaimed "geek", Mark has been blogging about technology for over 15 years. His blog,, covers a wide range of topics including new product releases, industry news, and tips and tricks for getting the most out of your devices. If you're looking for someone who can keep you up-to-date with all the latest tech news and developments, then be sure to follow him over at Microsoft.