Fix: “$AnnotatedConnectException: Connection refused: no further information” Error on Minecraft

Are you unable to connect your Minecraft gaming server to your computer? You have landed in the right place. Minecraft is an online game that was launched in the year 2011; it is created and developed Manjong. The user base of the game is massive – it has around 91 million gamers logging in every month.

The game is very popular and one of the widely played games in the online gaming community. However, numerous complaints have been rolling in regarding a server error –$annotatedconnectexception. Players are unable to connect the game’s server with Windows 10.

Additionally, this error does not occur across particular servers but is a common occurrence. This article discusses in detail the ways in which the persisting error can be fixed. Read on!

What causes$AnnotatedConnectException error?

Before talking in detail about the solutions, we have to know why the error occurs in the first place.

Read Also:

  1. Live TV Apps

Having looked into the matter, there are a few possible reasons why the error occurs. Some of them are listed below –

  • IP Address Issue: Sometimes, the error occurs due to using an incorrect IP address and Port for connecting the server. Usually, the network and link between the game and the device are established after the correct IP address, and the Port is put forward. The IP address is assigned to the servers by the ISP; the ISP delivers such addresses to multiple users simultaneously. It can happen the same IP address is being attributed to and used by more than one user; in that case, the error occurs. The IP address needs to be edited for this reason. However, the issue does not happen in case if you are using static IP.
  • Firewall: Your device’s windows software Firewall might not be allowing your network connection to link with the server. This is a common occurrence. This can be fixed manually; both the Java files and the game’s directory data needs to be put in Firewall’s exclusion list. This way, the windows firewall will no longer be creating any hindrances. The network connection can be linked to the server easily.
  • Old Java software: The error may be persisting due to disparity in the software versions of the game launcher and Java. Your Java software may be outdated, but your game launcher is of the newest version. This causes problems. For establishing proper connections, Java has to be updated to its latest version.
  • Incompatibility: The Minecraft game has precise specifications; it does not sit well with specific few software. If your device happens to have those software programs installed, then Minecraft can be creating a few issues, such as the error. The game has a list of that incompatible software – you can check it out, and modify your device and software accordingly.


These might be a few possible reasons why failure occurs in connecting the game’s server link with your network connection.

You can inspect into the matter yourself, and find out for yourself, what is causing the problem.

Having discovered the source of the issue, we will look into how you can solve the matter at hand.

Three effective solutions have been discussed in detail below –

Solution 1: Resetting Internet

In case you are using an ISP assigned IP address, the specific IP address gets deleted every time you reset your internet router. The exception being static Ip addresses, which remains unaltered, whatsoever.

To overcome this issue, the most suggestible thing to do is to completely power cycle the Internet Router. For doing so, the internet settings and the DNS cache needs to be altered, following the below-mentioned steps –

  • Step 1: You need to switch the router off.
  • Step 2: In case you are using a wired connection, make sure that your ethernet cord is linked correctly on both of its ends ( to the computer and the router).
  • Step 3:Wait a few minutes or so before turning the router back on.
  • Step 4: Turn your computer on, go online, try connecting to the game’s server.

Your connection should now be able to link the game’s server. There should be no error any further. Check for yourself.

Solution 2: Adding Exception in Firewall

The Windows Firewall refines the data that comes from the thread of the world wide web. As mentioned before, your network connection might be blocked from connecting to the game’s server, owing to Firewall.

To overcome this problem, follow the next few steps –

  • Step 1: Go to the Windows START menu and open up the Settings
  • Step 2: Go under the Updates and Security category of the Settings page.
  • Step 3: A page will open up. On the left panel of the page, select the Windows Security option, and click on the Firewall and Network Protection
  • Step 4: Select Allow an App through the Firewall option.
  • Step 5: The Change settings option needs to be selected next. A warning prompt may or may not appear; if it does, select Yes.
  • Step 6: From the list that opens up under Change, select the Allow another app option, and then Browse.
  • Step 7: Go to the game installation directory; Select on Minecraft and executable launcher files.
  • Step 8: The same methodology needs to be followed after navigating to the directory of the Minecraft Server.
  •  Step 9: Open up Maxwell, and then the MinecraftServer
  • Step 10: Follow the same steps with Java executables.
  • Step 11: The process needs to be repealed yet again; the Java Platform SE Binary option needs to be allowed to serve through public and private network sources.
  • Step 12: Having done all the things mentioned above, you can open the Minecraft game.

The game’s server should be connecting to your network connection, now. The steps involved made the game’s directory files and all the java files to be transferred into Windows Firewall’s exclusion list.

Solution 3: Adding the IP address and port

Not all users have a static IP connection. If you happen to have a dynamic internet connection, the IP tends to change every time. In such a situation, the game’s server may not connect to your altering IP address.

To clear off this issue, the following step can be followed –

  • Step 1: Open up the Command Prompt. It can be accessed from the Start menu by typing cmd. Select the Run As Administrator
  • Step 2: Type in “ipconfig”, and press enter. The IPV4 address will appear, note it down.
  • Step 3: Open up the Minecraft Server Folder, go to Maxwell, and then to MinecraftServer. A text document titled Server Properties will be present. Open it.
  • Step 4: The Server Port number will be given there. Note it down.
  • Step 5: Open up the game and go to the Play Multiplayer mode.
  • Step 6: A list of servers will be displayed. Select the one you want to connect to.
  • Step 7: Fill in a server name. Under the server address, paste the IPV4 address number, as noted previously. Under the server port, paste the Server Port number, as noted.
  • Step 8: Select done. Then refresh.

Open up your Minecraft game. Try connecting. The link will now be established.

Read Also:

  2. Err_Connection_Timed_Out


To wrap it up, these were a few reasons for the error occurrence, and also three solutions forwarding them off. This guide may come handy to you and be helpful.

Go on, discover the reason behind the error and solve it, with the steps mentioned. Enjoy a smooth and friendly gaming experience. Happy Gaming!