How to Fix$annotatedconnectexception Error in Minecraft

Fix$annotatedconnectexception Error

Minecraft gaming is quite popular in the online gaming community. According to reports, 91 million players log in a month, which is vast in numbers. It proves how people are giving their love to Minecraft gaming and also enjoying playing it. 

Many users have complained about one error, which is coming when they try to connect to a server that is$annotatedconnectexception in Minecraft. Whenever this problem occurs, Minecraft fails to communicate with a server. The issue doesn’t only happen in a single server as it continues on all servers as well.$annotatedconnectexception.jpg

Causes behind Connection Refused Error:

There are so many reasons behind the Connection refused error. The users tried numerous solutions to resolve the issue, and it is to be believed that some of the solutions get worked. Let’s talk about the causes which trigger the$annotatedconnectexception error:

  1. When Minecraft is unable to connect with the server, maybe it happens because of the poor internet connection. In a few cases, the error occurs because of the wrong IP address. The IP address should be correct if you want to enjoy the server’s Connection fully. You have to use the IP address, which the ISP is allotted, and it needs to be changed in time again.
  2. One of the other reasons behind the error can be when you are using the Firewall in some cases, and it blocks your connection server. In Windows Firewall, the java files and the game directory always put it in the excluded list so the game server can work properly.
  3. The latest version of Java software is essential to keep your connection server stable. If you are using the outdated version of the Java software, it may cause the error repeatedly.
  4. The compatible software must be installed on your computer if you need an excellent connect server while playing Minecraft. Minecraft issued a list of compatible software that needs to be installed on your computer if you don’t want a problem regarding your connection server.

How do I fix the error?

If there are causes that conflict with the error, then there are solutions for it as well. You can apply the following solutions to resolve the issue once by all:

1. Try to Reset the Internet

It is very evident that if$annotatedconnectexception error occurs, then most of the time, it happens because of the poor internet connection or wrong IP address. The first thing you can try to resolve the issue is to reset the internet connection.

  1. Try to power off the internet from the router.
  2. Wait for five minutes to reconnect the power of the internet.
  3. Check it out if the issue is still there or not.

If the issue still exists, try another solution.

2. Try to add exceptions in the Firewall.

As we have discussed in the causes behind the error, it could be possible that the Firewall is blocking your connection server. To resolve the issue, you need to add the exceptions in Firewall.

  • Open the start menu and go to the Settings option.
  • Find Updates & Security option and click on it.

fix the error

  • You will find Windows Security there. Click on it.
  • In Windows Security, select Firewall & Network Protection option.

Firewall & Network Protection option.

  • After that, choose the Allow an App through the Firewall option.
  • Choose the option Click settings and click on Yes when the warning prompt will appear.
  • Choose Allow another App and select the Browse options.
  • Search for the game installation directory and choose the game and the launcher executable.
  • Do the above steps again and now search for the directory where the Minecraft servers are installed.
  • After that, open Maxwell and MinecraftServer folder.
  • Allow the Java executable inside the folder.
  • It would help if you allowed all the Java Platform SE Binary through both Public and Private Networks. 

Java Platform SE Binary through both Public and Private Networks

Now check if the issue is resolved.

3. Try to add the IP Address and Port

The wrong IP address can create the$annotatedconnectexception error so often. If you are not using the static IP address, then it changes time by time. You need to check the IP address and the port you are using for playing the Minecraft game.

  • Open the start menu and type Command Prompt in the search bar.
  • Right-click on Command Prompt and choose Run as administrator option.

add the IP Address and Port

  • Type ‘ipconfig,’ and you will find the IPV4 address.
  • Note down the IPV4 address.

Note down the IPV4 address.

  • Search for the Minecraft server folder and choose the Server properties text document.
  • Note the Server Port, you will see there.
  • Open Minecraft and find the Play Multiplayer option.
  • Choose the server you want to join and click Edit from the below.
  • You can put Minecraft’s name according to your wish, but in the IP address option, you need to fill in the IPV4 address, which we have noted before.
  • Choose done and refresh the Minecraft server.

Your issue will be resolved.

Posted by
Angello Mathews

Angello Mathews is a technical content writer with expert in the field of science & technology. She has a very good academic and professional profile . When she is not writing, she will be seen travelling around the world

Leave a Reply

Your email address will not be published. Required fields are marked *