Fix Minecraft$AnnotatedConnectException Error

Minecraft is a sandbox video game first released in 2011 that’s still very popular today. It is considered as the single best selling game of all time with more than 176 million copies sold. Estimates place that there are around 112 million active monthly players. Although this is a solid game there are instances when certain issues can occur. In this latest installment of our troubleshooting series we will tackle the Minecraft$AnnotatedConnectException error issue.

How To Fix The Minecraft$AnnotatedConnectException Error

Before performing any of the recommended troubleshooting steps listed below its best to reboot your computer. This will refresh the windows 10 operating system and will usually fix most of the common issues caused by a software glitch.

The$AnnotatedConnectException error issue usually occurs when the game can’t connect to a server. The issue might not be isolated to a single server but all servers thus preventing you from playing the game. Listed below are the troubleshooting steps that you will need to do to fix this problem.

Reboot the router

The first thing you will have to do in this case is to turn off the router. Wait for a minute before turning it back on. While you are waiting, make sure that the ethernet cord is plugged in securely on both ends of your computer and the router ( this will only apply if you are using a wired connection). 

Make sure that your computer can go online then run Minecraft.

Check if the$AnnotatedConnectException error issue still occurs.

Make sure the game is not blocked by the firewall

A firewall works by filtering information coming from the internet. There’s a possibility that your computer firewall is blocking the connection to the Minecraft server. To fix this you will need to add the game to the exception list of the firewall.

  • Click on the Start menu and select the Settings icon.
  • From Settings, click on the “Updates & Security” option.
  • Select the “Windows Security” from the left pane and select the “Firewall & Network Protection” option.
  • Select the “Allow an App through Firewall” option.
  • Click on “Change Settings” and select “Yes” on the warning prompt.
  • Select the “Allow another app” from the options and click on “Browse“
  • Navigate to the game installation directory and select the game and the launcher executable.
  • Repeat the above process again and this time navigate to the directory where you have the Minecraft servers installed.
  • Open “Maxwell” folder and then the “MinecraftServer” folder.
  • Allow both the  Java executables located inside the folder in the same way.
  • Repeat the process again and instead of clicking “Allow another app” after selecting the “change” option simply scroll down the list of apps available and allow all the “Java Platform SE Binary” options through both the “Private” and “Public” networks.
  • Open the Minecraft launcher, try to connect to the server and check to see if the issue persists.

Check if the$AnnotatedConnectException error issue still occurs.

Manually add IP address and port

If your internet connection uses a dynamic IP address ( constantly changes) and not a static IP address ( does not change) then the game might not be able to make a connection to the server. Here’s how to fix this is this is what’s causing the problem.

  • Click on the search bar on the Windows toolbar and type in “Command Prompt”.
  • Right–click on the icon and select “Run as Administrator”.
  • Type in “ipconfig” and take note of the “IPV4 Address”
  • Using the file explorer go to the “Minecraft Servers folder>Maxwell (some random numbers)> MinecraftServer” and open the “Server Properties” text document.
  • Take note of the “Server Port” number listed here. 
  • Open up Minecraft and navigate to the “Play Multiplayer” option.
  • Select the server which you want to join by clicking on it and select “Edit” from the below options.
  • The “Address” needs to be the IPV4 address that we noted and the port number for example “XXX.XXX.X.X:YYYYY” where X is the IPV4 address and Y is the port.

Check if the$AnnotatedConnectException error issue still occurs.

Leave a Comment