Fix: Minecraft “Connection Refused” Error When Joining a Server

The “Connection refused: no further information” error in Minecraft appears when your game reaches the destination address, but the server rejects the connection or is not accepting connections on that port.

You may also see it as io.netty.channel.AbstractChannel$AnnotatedConnectException.

Minecraft tried to connect, but the server did not accept the request.

This usually happens because the server is offline, the IP address or port is wrong, Windows Firewall or another security tool is blocking Java, or the server is hosted incorrectly. If you host the server yourself, a bad port forwarding rule is one of the most common causes.

Start with the simple checks first. If those do not help, move to the network and firewall fixes below.

1. Make Sure the Server Is Online

Before changing your PC or router settings, confirm that the server is actually running. This error often appears when the server is offline, restarting, overloaded, still loading, or failed during startup.

If you are joining a friend’s or public server, ask the owner whether it is online and whether other players can connect. If you host the server yourself, check the server window or logs and make sure it fully started without crashing. If the server never finished loading, Minecraft will still show a connection error on the client side.

2. Restart Your Router and PC

A restart clears temporary local network issues such as stale routing, DNS problems, or a bad local IP assignment. It is simple, but it often fixes connection problems that appeared suddenly.

  1. Turn off your router and modem by unplugging them from power.
  2. Wait for 2 to 5 minutes.
    Disconnecting power cord
  3. Reconnect the power and wait until the internet connection is fully restored.
  4. Restart your PC.
  5. Open Minecraft and test the server again.

3. Verify the Server Address and Port

An incorrect address or port is one of the most common reasons for this error. Even one wrong number can send Minecraft to the wrong service, which then refuses the connection.

If someone else gave you the server details, ask them to confirm the exact IP address and port. If you host the server yourself, make sure you are using the correct address for the type of connection:

  • Same network as the host: use the host PC’s local IPv4 address.
  • Outside the network: use the host’s public IP address and the correct forwarded port.
  1. Open Minecraft and go to Multiplayer.
  2. Select the server, then click Edit.
    Selecting the server and clicking “Edit”
  3. Check that the server address is correct.
  4. If a custom port is required, enter it in this format:
    IP_ADDRESS:PORT

    For example:

    192.168.1.10:25565
    Editing the server address and clicking “Done”
  5. Click Done, then Refresh, and try joining again.

If you host the server on your own PC, you can check your local IP by opening Command Prompt and running:

ipconfig
Opening Command Prompt

Then look for IPv4 Address.

Running the “ipconfig” command

Also check the server.properties file and confirm that the server-port value matches the port you are using in Minecraft and in your router settings.

Checking the server port in the “server.properties” file

4. Reset Your Network Settings

If the server details are correct, Windows network settings may be the problem. Corrupted DNS cache, broken Winsock entries, or bad IP settings can stop Minecraft from reaching the server properly. Resetting them forces Windows to rebuild those components.

  1. Search for Command Prompt and click Run as administrator.
    Running Command Prompt as administrator
  1. Enter these commands one by one:
    ipconfig /flushdns
    ipconfig /release
    ipconfig /renew
    netsh winsock reset
    netsh int ip reset
  2. Restart your computer.
  3. Open Minecraft and test the connection again.

This method is useful when the problem affects multiple servers or started after a network change, VPN use, or router issue.

5. Allow Minecraft and Java Through Windows Firewall

Minecraft depends on Java and the launcher to make the connection. If Windows Firewall blocks either one, the server may appear unreachable even though it is online. This is especially worth checking if the error started after a Windows update, Java update, or fresh install.

  1. Open the Start menu and go to Settings.
  2. Go to Update & Security > Windows Security.
  3. Click Firewall & network protection.
  4. Select Allow an app through firewall.
    Allowing an application through Windows Firewall
  5. Click Change settings.
  6. Find Minecraft, Minecraft Launcher, and all Java Platform SE Binary entries.
    Applications that may need to be allowed through Windows Firewall
  7. Make sure they are allowed on both Private and Public networks.
  8. If any entry is missing, click Allow another app and add it manually.
  9. Click OK, reopen Minecraft, and test again.
 

If you use a third-party antivirus with its own firewall, check that too. Allowing the app only in Windows Firewall may not be enough.

6. Check Whether Security Software Is Interfering

Some antivirus programs, VPNs, third-party firewalls, and network filtering tools can interfere with Java connections. If the issue began after installing or updating one of these, temporarily disable it and test again.

If the connection works after that, do not keep the protection disabled. Add Minecraft, Java, or the launcher to the allowed list or exceptions section, then enable the software again. This lets you keep protection without blocking the game.

7. Test a Different Internet Connection

Testing another network helps you separate a PC problem from a network or ISP problem. A mobile hotspot is usually the easiest way to do this.

  1. Disconnect from your current Wi-Fi or Ethernet connection.
  2. Connect your PC to a mobile hotspot or another network.
  3. Open Minecraft and try joining the same server again.

If Minecraft works on the other connection, the issue is likely on your original network. That usually points to router filtering, DNS problems, ISP restrictions, or a firewall rule on your main connection.

In most cases, this error is caused by one of four things: the server is offline, the IP or port is incorrect, Java is blocked by a firewall, or port forwarding is broken on a self-hosted server. Check those first, then move to network resets and security software if needed.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

15
    SW
    Shane Warren Author Jun 25, 2019

    Make sure that the port is forwarded properly on the server computer. Also, try the first 3 solutions on the server computer

    KM
    Karl Mahiet Aug 1, 2019

    hi i can’t find the folder where the servers are installed can someone help me ??

      SW
      Shane Warren Author Sep 8, 2019

      The default location should be “Libraries>Documents>Minecraft

    DA
    Dapz Feb 9, 2020

    I couldn’t get anything to work, port forwarding was done correctly, i dont have any of the incompatible apps, and even when firewall was turned off on the router and windows it still wouldn’t work. Any advice?

      SW
      Shane Warren Author Feb 12, 2020

      Did you try a hotspot connection?

        DA
        Dapz Feb 12, 2020

        What do you mean by that?

          SW
          Shane Warren Author Feb 17, 2020

          Turn on the hotspot on your mobile and connect your computer to that. Try to join the server and check if it works.

          DA
          Dapz Feb 17, 2020

          Ill try that tomorrow morning.

    AN
    Anonymous Sep 5, 2020

    You can get to the minecraft files on Windows by pressing Windows key+R and typing in %appdata%.minecraft

    Reply
    SO
    Someone Dec 28, 2020

    solucion 2, inciso 7, dice que permita el launcher y el juego, tengo el launcher premium, y ya lo agregué, pero el juego, cual es su nombre/directorio?, alguien ayudeme

    ————————————————————————————————————————————————–

    Solution 2, subsection 7, it says to allow the launcher and the game, I have the premium launcher, and I already added it, but the game, what is its name / directory ?, Someone help me}

    CN
    Crystal Nothing Mar 16, 2021

    For Solution 2 I can’t find the folder with the minecraft server, someone please help

      MZ
      Muhammad Zubyan Author Mar 17, 2021

      Try this:-

      1. Press and hold the “Windows + R” keys together to open Run.
      2. Now type “%appdata%.minecraft” and press enter.

      you should be able to see the Minecraft server folder now.

      Reply
    MZ
    Muhammad Zubyan Author Aug 7, 2021

    If you can’t able to find them in the firewall then it should be an issue to run the game. Try other methods if none works for you, contact your ISP to get this issue resolved. I also suggest you reinstall the game once properly to fix any corrupted entries.

    AN
    Anonymous Jan 10, 2022

    Hi, I’ve tried every method but nothing seems to work, I’m still get the error “Connection refused: no further information”. I’m fairly sure the issue is on my end as my friends are able to join the server just fine. Any support would be great thanks

      MZ
      Muhammad Zubyan Author Jan 11, 2022

      In that case, you will have to contact your ISP to get this issue resolved.