How to fix the io.netty.channel Minecraft error

Find out how you can fix the io.netty.channel Minecraft error

Minecraft is a critically acclaimed sandbox survival game developed by Mojang Studios. The game was written in the Java programming language and was officially released in November 2011. The game was positively received by players, and its popularity grew over the years. Minecraft has since become the best-selling game of all time, with around 200 million copies sold. As of 2020, the game has more than 120 million active users.

Minecraft offers an open-ended gameplay experience with various game modes, allowing players to play the game how they want. The game offers both a single-player and multiplayer gaming experience, with multiplayer being hugely popular. It enables players to cooperate to achieve objectives and compete with each other.

minecraft-error-article-v2

Minecraft is available on nearly all platforms, including Windows, macOS, Linux, Xbox, PlayStation, and Android. In 2017, Mojang Studios released an update allowing cross-platform play. It also has support for community-made mods, such as texture packs, custom maps, and quality of life improvement mods such as minimaps, waypoints, and so on. In short, this game has something to offer to most players.

However, an estimated 20% number of players experience an error known as io.netty.channel, which doesn’t allow them to connect to a co-op game via a local network or the Internet. And this issue can go beyond just one server as players are unable to connect to any server.

Depending on your Minecraft version, you may get an error that reads:

  • io.netty.channel.ConnectTimeoutException connection timed out
  • io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out
  • io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information

The error text doesn’t give too much information, but it means that there’s a connection issue. The text may have slight differences, but the underlying problem of not connecting to a server is the same. This error may come about for several reasons, such as your Windows Defender Firewall or third-party Antivirus software preventing Minecraft from connecting to the Internet.

If you’re using a VPN, it may block the host server, so try disabling it. You can also get this error if your ISP provides you with a dynamic IP address, so you need to contact your ISP and ask them to give you a static IP address. Furthermore, you may get this error due to a wrong IP port.

Incompatible software such as Hamachi may interfere with Minecraft, so you might want to disable or remove it from your PC. As Minecraft requires Java software to work correctly, you may get this error if Java is outdated. Therefore, you should update Java before you resort to employing complex solutions to get rid of the io.netty.channel Minecraft error.

There are several reasons why you may get this error, and there is no quick, easy fix. So you may have to try several things before you can get Minecraft to connect to a server.

Table of Contents:

Method 1. Whitelist Java on Windows Defender Firewall

1. Hold down Windows+R keys to open the Run dialog box.

Type firewall.cpl and click OK

2. In the Run dialog box, type control firewall.cpl and click OK to open Windows Defender Firewall settings.

Click Allow an app or feature through Windows Defender Firewall

3. Click Allow an app or feature through Windows Defender Firewall.

Click Change settings

4. Click the Change settings button, (click Yes at the User Account Control (UAC)).

Click Allow another app

5. See if the Java Runtime Environment is on the list of allowed apps. If it isn’t, click Allow another app.

Select Java.exe and click Open

6. Click Browse, navigate to C:\Program Files (x86)\Java\[Java Version]\bin

7. Select Java.exe and click Open.

Click Add

8. Then, click Add to include the item into the list of Allowed Apps.

Tick the PUblic and Private checkboxes

9. Tick the Private and Public checkboxes associated with the Java Platform SE Binary, and click OK.

10. Launch Minecraft.

[Back to Table of Contents]

Method 2. Turn off Windows Defender Firewall

1. Hold down Windows+R keys to open the Run dialog box.

Type control.cpl and click OK

2. In the Run dialog box, type control firewall.cpl and click OK to open Windows Defender Firewall settings.

Click Turn Windows Defender Firewall on or off

3. Click Turn Windows Defender Firewall on or off.

Turn Windows Defender Firewall off

4. Tick the Turn off Windows Defender Firewall (not recommended) for both Private and Public networks. To turn Windows Defender Firewall back on later, tick Turn on Windows Defender Firewall for Private and Public networks.

5. Click the OK button to confirm.

6. Launch Minecraft.

[Back to Table of Contents]

Method 3. Switch to Google’s DNS

1. Hold down Windows+R keys to open Run.

Type ncpa.cpl and click OK

2. Type ncpa.cpl and click OK to open the Network Connections menu.

Right-click your network device and click Properties

3. In the Network Connections window, right-click your network device and click Properties.

Select Internet Protocol Version 4 and click Properties

4. Under the Networking tab, in This connection uses the following item section, select Internet Protocol Version 4 (TCP / IPv4), and click the Properties button.

Replace Preferred and Alternate DNS

5. In the General tab, tick Use the following DNS server address and replace Preferred DNS server and Alternate DNS server with the following addresses:

  • 8.8.8.8
  • 8.8.4.4

6. Click OK.

Select Internet Protocol Version 6 and click Properties

7. Then, select Internet Protocol Version 6 (TCP / IPv6), and click the Properties button.

Replace Preferred and Alternate DNS

8. In the General tab, tick Use the following DNS server address and replace Preferred DNS server and Alternate DNS server with the following addresses:

  • 2001:4860:4860::8888
  • 2001:4860:4860::8844

9. Click OK.

10. Close the Internet Properties window.

11. Then, reboot your PC, and launch Minecraft.

[Back to Table of Contents]

Video on how to fix io.netty.channel Minecraft error:

[Back to Top]

About the author:

Tomas Meskauskas

I am passionate about computer security and technology. I have an experience of 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an editor for pcrisk.com since 2010. Follow me on Twitter to stay informed about the latest tech news or online security threats. Contact Tomas Meskauskas.

Our guides are free. However, if you want to support us you can send us a donation.