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

Minecraft is a sandbox game developed and published by Mojang. The game was released in 2011 and instantly became popular in the online gaming community. It has one of the largest player counts with a giant number of 91 million players logging in monthly. However, quite recently a lot of reports have been coming in of users encountering the error “$AnnotatedConnectException: Connection refused: no further information” while trying to connect to a server. This error is not limited to a single server and persists across all of them.

Error message “$AnnotatedConnectException: Connection refused: no further information” while trying to connect to the server

What Causes the Connection Refused Error?

After receiving numerous reports from multiple users we investigated the issue and devised a set of solutions that solved the problem for most of the users. Also, we looked into the reasons due to which the error is triggered and listed them below. For that:

Reading: minecraft$annotatedconnectexception:

Now that you have a basic understanding of the nature of the issue we will move on towards the solutions. It is recommended that you try these solutions in the specific order in which they are provided to ensure that no conflicts occur.

Solution 1: Resetting Internet

Whenever the internet router is reset the IP address that is provided by the ISP is changed unless you are using a static IP address. Therefore, in this step, we will be reinitializing the internet settings and the DNS cache by completely power cycling the Internet Router. For that:

  1. Disconnect the power from the internet router.
    Disconnecting Power cord
  2. Wait for 5 minutes and reconnect the power.
  3. When internet access is granted try to connect to the server and check to see if the issue persists.

Solution 2: Resetting Network Configurations

View more: 5 best Minecraft 1.17.1 update resource packs | WTBBLUE

Your Windows Network configurations can also be a culprit here, as it’s possible that your Network settings are configured incorrectly. For resetting network configurations, follow the steps below:-

  1. Search for the Command Prompt in the Windows Search bar then click “run as administrator”.
    Running Command Prompt
  2. Once the Command Prompt window is opened, type the following commands one by one:-ipconfig /flushdns ipconfig /release ipconfig /renew netsh winsock reset netsh int ip reset
  3. Restart your computer and check to see if the issue persists.

Solution 3: Adding Exception in Firewall

It is possible that the Windows Firewall that you are using might be blocking your connection to the server. Therefore, in this step, we will be adding an exception in the Firewall for some executables in the Minecraft folder that need internet access. For that:

  1. Click on the start menu and select the Settings icon.
  2. In the Settings, click on the “Updates & Security” option.
  3. Select the “Windows Security” from the left pane and select the “Firewall & Network Protection” option.
  4. Scroll down and select the “Allow an App through Firewall” option.
  5. Click on “Change Settings” and select “Yes” on the warning prompt.
  6. Select the “Allow another app” from the options and click on “Browse
  7. Navigate to the game installation directory and select the game and the launcher executable.
  8. Now repeat the above process again and this time navigate to the directory where you have the Minecraft servers installed.
  9. Open the “Maxwell” folder and then the “MinecraftServer” folder.
  10. Now allow both the Java executables located inside the folder in the same way.
  11. Now 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.
    The applications that need to be allowed through the firewall
  12. Open the Minecraft launcher, try to connect to the server, and check to see if the issue persists.
    Allowing an application through the firewall

Solution 3: Adding the IP address and Port

If the IP address that you are using is not a static one, it will change every couple of days or whenever the Internet Connection is reset. Therefore, in this step, we are going to be checking the IP address and the correct port for the game and add it to the Minecraft Launcher. For that:

  1. Click on the search bar on the Windows toolbar and type in “Command Prompt“.
  2. Rightclick on the icon and select “Run as Administrator“.
    Right-clicking on the Command Prompt icon and selecting Run as Administrator
  3. Type in “ipconfig” and note down the “IPV4 Address“.
    Typing in ipconfig in the command prompt
  4. Also, Navigate to the “Minecraft Servers folder>Maxwell (some random numbers)> MinecraftServer” and open the “Server Properties” text document.
    Opening the “Server Properties” text document and noting down the server port
  5. Note down the “Server Port” listed there. In our case it was “25565” it should be similar in most cases however in some it is not.
  6. Now open up Minecraft and navigate to the “Play Multiplayer” option.
  7. Select the server which you want to join by clicking on it and select “Edit” from the below options.
    Clicking on the server and selecting “Edit”
  8. The server name can be according to your preference but the “Address” needs to be the IPV4 address that we noted and the port number for example “XXX.XXX.X.X:25565” the “25565” is the port number and it may vary.
    Editing the Server Address and clicking on Done
  9. Click on “Done“, click on “Refresh” and check to see if the issue persists.

Note: There are some applications that are generally incompatible with certain elements of Minecraft and cause issues with it. The list of applications is available here. If these are installed on the computer on which the server is running from or on your computer you will continue to face issues with the game.

Solution 4: Checking for Port Filtering

Related: A Sticky Situation: How To Get Rid Of Cobwebs In Minecraft, How Can I Get Rid Of Spiders Webs

We came across numerous instances where users were accidentally filtering ports. Even though the port forwarding was working alright, the filtering automatically nullifies it and you will not be able to connect to Minecraft servers.

Here, what you can do is check your router’s and your local machine’s network configurations and make sure that port filtering isn’t turned on and if it is, the correct ports are being filtered.

Solution 5: Checking ISP Network Access

If none of the above methods work, you should check your ISP’s network access. ISPs sometimes block network access to specific domains and don’t allow you to go through. Contact your ISP and verify that internet access isn’t indeed blocked.

Furthermore, you can also change your internet connection to your smartphone’s 3G and see how that works out for you. If it does, it probably means that your ISP is blocking you and you need to change your network.


Leave a Comment