How to fix io.netty.channel.abstractchannel$annotatedconnectexception error on minecraft

Io netty channel abstractchannel в minecraft — как исправить ошибку

Как исправить «Java.net.ConnectException: Connection timed out»

Существуют несколько способов избавиться от ошибки Java.net.ConnectException. Рассмотрим их по порядку:

  • Перезагрузите ваш PC. В некоторых случаях данный простой метод позволял решить ошибку java.net.connectexception connection refused;
  • Установите на ПК свежую версию «Java». Довольно частой причиной рассматриваемой проблемы является устаревшая версия «Java» на пользовательском ПК. Перейдите в Панель управления, затем в «Программы», там найдите «Java» и кликните на неё. После появления окна её настроек перейдите на вкладку «Update», нажмите там на кнопку «Update Now», и установите в системе требуемые обновления.

Данную процедуру необходимо провести как на вашей машине, так и на машине того пользователя, с которым вы собираетесь играть в «Майнкрафт» по сети;

  • Внесите «Майнкрафт» в исключения брандмауэра и антивируса на вашем ПК. Запустите Панель управления, перейдите в «Система и безопасность», там найдите «Брандмауэр Виндовс» и кликните на него. В открывшемся окне настроек брандмауэра слева сверху выберите опцию «Разрешения взаимодействия…».В открывшемся окне разрешённых для внешнего подключения программ найдите программы с упоминанием «Java», и поставьте им галочки для разрешения подключения (поможет кнопка «Изменить параметры»). Нажимаем на «Ок» для сохранения результата, перезагружаемся и пробуем подключиться к серверу. С антивирусом необходимо проделать аналогичные операции, внеся «Java» и «Майнкрафт» в его исключения;
  • Попробуйте альтернативный сервер. Если подключения к конкретному серверу невозможно, тогда вполне вероятно, что у него наблюдаются временные проблемы в работе. Рекомендую попробовать альтернативный сервер, или подождать некоторое время, пока работоспособность начального сервера восстановиться;
  • Создайте сервер на другой машине. Если вы создаёте сервер, к которому подключается другой знакомый вам пользователь, тогда рекомендуется поменять базовый компьютер для создания сервера. То есть сервер должен создать уже другой пользователь, а вы подключитесь к нему. Часто это позволяло решить проблему net.ConnectException на пользовательском компьютере;
  • Используйте статистический IP-адрес. Если у вас есть возможность, рекомендуется использовать официальный (белый) IP-адрес, полученный через провайдера (обычно данная услуга имеет платный характер);
  • Установите на ваш ПК (гаджет) свежую версию «Майнкрафт». Обычно необходимо, чтобы версии игры на сервере и на вашем ПК (гаджете) соответствовали друг другу; Установите самую свежую версию программы
  • Избавьтесь от имеющихся модов к игре. Если вы используете какие-либо моды «Майнкрафт», рекомендуется удалить их, оставив само тело игры;
  • Перезагрузите ваш роутер. Отключите ваш роутер, подождите полминуты, а затем включите его обратно;
  • Обратитесь за консультацией к провайдеру. По различным причинам некоторые провайдеры блокируют доступ к некоторым серверам. Узнайте, не ваш ли это случай, и не является ли ваш провайдер причиной возникновения данной проблемы.

java.net.SocketExecption: Network is unreachable

I have a server running on a Mac using Craftbukkit. Recently, my computer’s graphics card had to be replaced; and ever since, my friends could not connect to the server. Only I can, using «localhost». When anybody else tries to connect, they get the following error message: «Failed to connect to the server java.net.SocketExecption: Network is unreachable».

Please help! Btw, I tried restarting the server, my wireless connection, and even my computer; yet still nothing works.

Thank you so much!

  • Enderman Ender
  • Join Date: 6/3/2011
  • Posts: 8,485
  • Member Details

This strongly implies that the IP address they are trying to use is bogus. A port forwarding problem would not manifest itself as a NETWORK unreachable.

This message means that an IP router somewhere is throwing up it’s hands and saying «I have no idea where to send this»

  • Tree Puncher
  • Join Date: 1/11/2012
  • Posts: 24
  • Member Details

This strongly implies that the IP address they are trying to use is bogus. A port forwarding problem would not manifest itself as a NETWORK unreachable.

This message means that an IP router somewhere is throwing up it’s hands and saying «I have no idea where to send this»

The odd thing is that they have been using the same IP all the time, and only now am I getting this error. I got the IP to use off of IPChicken, and it is the same as always.

  • Tree Puncher
  • Join Date: 1/11/2012
  • Posts: 24
  • Member Details
  • Enderman Ender
  • Join Date: 6/3/2011
  • Posts: 8,485
  • Member Details

that error means the device where your packets are arriving is NOT LISTENING.

So.. either your server is not running, or you are using the wrong IP address to connect with, or your port forwarding is pointed at the wrong IP address.

This is not usually a firewall issue, as they usually just silently eat packets.

  • Tree Puncher
  • Join Date: 1/11/2012
  • Posts: 24
  • Member Details

that error means the device where your packets are arriving is NOT LISTENING.

So.. either your server is not running, or you are using the wrong IP address to connect with, or your port forwarding is pointed at the wrong IP address.

This is not usually a firewall issue, as they usually just silently eat packets.

My server is running, I use the right IP, and I’m pretty sure my port forwarding is pointed at the correct IP address. Whenever I go on Verizon and port forward, it seems to work; yet when I go on canyouseeme.org and test port 25565, it also says connection refused. Man, is this annoying.

EDIT: Other computers in my LAN can connect to my server, but still not outside of my LAN.

Источник

Why does it say “IO Netty channel AbstractChannelAnnotatedConnectException” in Minecraft?

While playing Minecraft, you must have already noticed that you frequently get this error. It is actually an annotated error that is triggered when there is an unstable connection between the Minecraft server and the host PC.

Most of the routers we install on our home use a NAT (network address translation) protocol that separates our home network from the public internet. This protocol can also trigger this error.

But yes, this annotated error is not the only issue you may face on Minecraft. Many people often encounter graphical problems as well, such as a broken bow. In that case, you can follow our step-by-step guide to repair the bow in Minecraft.

Why does the Minecraft Exception Error keep appearing?

Sometimes your PC’s OS version is the reason fixing which can subside the Connection Timed Out Error. This will also fix the other common problems caused from any software glitch.

Inaccurate IP port is a reason why the io.netty.channel.abstractchannel Minecraft error often occurs. Therefore, make sure to attach the IP address with the accurate port for forwarding establishing a successful connection with the client server. It rarely happens that the IP keeps changing with time and a number of users get linked with the same IP address. Other reasons behind the error include; server blocked by Windows Firewall, Unstable software app, and outdated JAVA software.

Ошибка io.netty.channel.AbstractChannel$AnnotatedConnectException Майнкрафт: как исправить

Рассмотрим детально пошаговую инструкцию по исправлению ошибки io.netty.channel.AbstractChannel$AnnotatedConnectException при подключении к серверу Minecraft.

Проверка работоспособности сервера

Если появляется сообщение «Could not get the server status…», то причина появления ошибки заключает в некорректной работе сервера. Необходимо просто подождать, пока она нормализуется.

Перезагрузка компьютера

Первым, что сделает делать, если возникает ошибка io.netty.channel.AbstractChannel$AnnotatedConnectException – перезагрузить ПК. Банальная перезагрузка компьютера в большинстве случае помогает устранить возникающие ошибки. Не следует пренебрегать данным советом.

Отключение антивируса, брандмауэра, VPN, Proxy

Непосредственно перед попыткой подключения к серверу стоит полностью отключить антивирусную программу и брандмауэр Windows. Если помогло, то в таком случае нужно включить их снова, зайти в настройки антивируса и брандмауэра и добавить папку с игрой в исключения. Инструкция для разных антивирусов индивидуальная, а для брандмауэра следует сделать следующее:

  1. Открыть меню «Пуск»;
  2. Перейти в параметры системы;
  3. Зайти в раздел «Обновления и безопасность»;
  4. Выбрать пункт «Безопасность Windows» в левом навигационном меню;
  5. Зайти в подраздел «Брандмауэр и защита сети»;
  6. Выбрать пункт «Разрешить работу с приложением через брандмауэр»;
  7. Найти в списке Майнкрафт и его компоненты и отметить их галочками, после чего нажать кнопку «ОК».

Также нужно отключить все программы, которые выполняют подмену или сокрытие IP-адреса: VPN, Proxy, если таковые имеются. В частности, отказаться от использования софта наподобие Hamachi.

Очистка кэша DNS

Также следует выполнить очистку кэша DNS. Для этого нужно:

  1. Открыть командную строку от имени администратора. Сделать это можно из меню «Пуск» или воспользовавшись встроенным поиском операционной системы. Также можно запустить приложение «Выполнить» с помощью сочетания горячих клавиш Win+R, куда следует ввести в строку команду cmd. Пользователи Windows 10 могут использовать Windows PowerShell вместо командной строки;
  2. Ввести команду ipconfig /flushdns в командную строку и нажать клавишу Enter.

Перезагрузка роутера

Стоит сделать перезагрузку сетевого оборудования. Необходимо выключить роутер, полностью отключив его от электросети и подождать минимум 1 минуту, прежде чем включить его снова.

Редактирование правил перенаправления адресов и портов

Некорректно установленные правила обработки адресов и портов в настройках маршрутизатора могут стать причиной возникновения ошибки. Для ее устранения нужно зайти в настройки роутера. Для этого нужно вбить в адресную строку браузера IP: http://192.168.0.1 или http://192.168.1.1. Ввести логин и пароль. Стандартные логин и пароль: admin admin. Необходимо зайти в раздел настроек безопасности и удалить существующие правила.

Устранение проблемы с файловой системой игры

Достаточно часто причиной, почему происходит ошибка io.netty.channel.AbstractChannel$AnnotatedConnectException становится проблема файловой системы игры:

  1. Поврежденные файлы;
  2. Некорректная версия Майнкрафт;
  3. Некорректные моды.

Лучшим решением является полное удаление игры с помощью мастера установки и удаления программ Windows. После чего нужно скачать и установить игру заново. Желательно из другого источника.

Если желания скачивать всю игру заново нет, то можно попробовать упрощенный вариант, который заключается в удалении папки сервера, расположенной в папке с игрой. После чего необходимо заново скачать лаунчер и выполнить проверку целостности файлов.

Использование VPN

В некоторых случаях использование VPN может стать не причиной, а – решением проблемы. Можно попробовать использовать программу Hamachi для создания VPN-сети. И подключаться к серверу через нее.

Possible Reasons and Solution for java.net.SocketException: Network is unreachable in Java

Example Code (Causing an Error):

In this code, we pass the URL and the fileName to the downloadXML() method that reads the .xml file from the specified URL and writes it into the given fileName , which is further saved on our local system.

Though this code example is syntactically and semantically correct but generates the java.net.SocketException: Network is unreachable exception. The error is self-explanatory that tells us the network is not available at the current moment.

The reason causing this error is the connection breakdown. It can happen in Wi-Fi, 3G, or plain internet connection on the machine (computer/laptop).

Whenever we get this error, we must assume that the internet connection is not stable and may be lost from time to time while writing our application.

For instance, this happens with mobiles frequently when we are in the basements or tube, etc. It also happens while using apps on a PC/laptop, but it is less frequent.

The second reason can be incorrect Port and/or HostName . Make sure both are correct.

Additionally, you must remember two more things that can help in error identification.

  1. First, you will get a java.net.UnknownHostException error if you are completely disconnected from the internet

Usually, the Network is unreachable differs from the Timeout Error . In the Timeout Error , it can’t even find where it should go.

For instance, there can be a difference between having our Wi-Fi card off and no Wi-Fi.

Firstly, perform the usual fiddling with the firewall to ensure that the required port is open. Then, have a look into the network issues that you might have.

Turn off the firewalls and eliminate the obstacles such as routers and complications to make it work in the simplest scenario possible since it is a network-related issue, not code related problem.

Источник

If it’s your own server:

If this is your server and you cannot connect to it, then the first solution is to check if you have started the server before trying to connect to it. Sometimes it’s the simple things!

If your server is running, then the solution is most likely going to be one of the following two:

  1. Your firewall is blocking your access.
  2. You need to port forward your network.

The way to fix problem 1 is the same for both your own server and other people’s servers. We listed the steps you can take above under the header “Firewall Permissions.”

If option one didn’t solve your issue, then perhaps the issue is option 2: port forwarding your network.

Since this is a problem with your router, and every router has a different user interface, it is hard to describe precise steps to take. We will therefore stick to general steps to guide you that should help you fix the problem.

Firewall Permissions: Change Settings

  1. Now, look further down the page where you will now be able to interact with the previously greyed out “Allow another App.”
  2. There will be a small pop up on window with a button labeled “Browse…” select this and then navigate to the place where you have Minecraft installed.
  3. In the Minecraft folder, select the MinecraftLauncher file and click “Open.”
  4. We will have to repeat the steps above and this time, navigate to where you have your Minecraft Server installed and go to the folder “MinecraftServer” and in it, select both Java executable files and open those too.
  5. Lastly, we will stay on the Change Settings page, but this time scroll down the list of allowed apps and features until we see the entries labeled “Java(TM ) Platform SE binary.” Here we tag all the checkmarks for “Private” at the very least and “Public,” too, if we run a server and want people to connect from outside our network.
  6. Start Minecraft again and check if you now have access to the server.

Добавление исключения в Брандмауэр

Во многих случаях подключение к серверу Minecraft блокируется брандмауэром Windows, что в конечном итоге приводит к ошибке «io.netty.channel.AbstractChannel AnnotatedConnectException». Поэтому попробуйте добавить исключение для некоторых исполняемых файлов из папки Minecraft, которым требуется доступ в интернет.

Разверните меню Пуск и щелкните на значок шестеренки, чтобы открыть системные Параметры, либо просто нажмите Win + I. Перейдите в раздел «Обновления и безопасность».

Откройте вкладку «Безопасность Windows» и перейдите в раздел «Брандмауэр и защита сети».

Выберите опцию «Разрешить работу с приложением через Брандмауэр».

Кликните на кнопку «Изменить параметры» и подтвердите это запрос нажатием на кнопку «Да».

Затем выберите «Разрешить другое приложение» и кликните на кнопку «Обзор». Перейдите в папку Minecraft и выберите исполняемый файл.

Повторите указанные действия еще раз. Перейдите в папку, в которой установлены серверы Minecraft. Откройте папку Maxwell – MinecraftServer. Установите разрешения обоим исполняемым файлам Java внутри этой папки таким же образом.

Теперь найдите в списке все опции «Java Platform SE Binary» и отметьте флажками для частной и публичной сети.

После применения изменений запустите Minecraft и посмотрите, прерывается ли этот процесс ошибкой «io.netty.channel.AbstractChannel AnnotatedConnectException».

Добавление IP-адреса и порта

Если для доступа в интернет используется динамический IP-адрес, он будет меняться каждые пару дней. Поэтому проверьте IP-адрес и порт для игры и добавьте его в лаунчер Minecraft.

Откройте командную строку с помощью поиска Windows, предоставив ей доступ администратора.

В консоли выполните команду ipconfig и запишите IPv4-адрес.

Затем перейдите в папку Minecraft Servers – Maxwell (с набором случайных чисел) – MinecraftServer и откройте текстовый документ «Server Properties».

Найдите в нем и запишите значение строки «Server Port», например, «25565».

Затем запустите Minecraft и перейдите к опции «Play Multiplayer». Выберите сервер и кликните на «Edit» (Редактировать).

Теперь в поле Address укажите IPv4-адрес и номер порта, например, «XXX.XXX.X.X:25565»

Кликните на Done (Готово), затем на кнопку Refresh (Обновить). Проверьте, прерывается ли запуск Minecraft ошибкой.

What is the solution to this error io.netty.channel.abstractchannel$annotatedconnectexception connection refused?

Let’s start solving this problem with some basic solutions that work for almost any error. Don’t skip these unless you have already tried them, because these are the simplest solutions that take the least amount of time!

  • Restart Minecraft.
  • Restart your Computer.
  • Powercycle your Router by turning the power to it off for a minute and starting it up again.

If these didn’t help, it is time to try some of the more advanced steps.

To start solving this, we need to first figure out which path we need to take, and that depends on who is running the server you are trying to connect to if it is your own server or someone else’s.

Чем вызвана ошибка?

Если при запуске Майнкрафт на экране видим ошибку «io.netty.channel.AbstractChannel AnnotatedConnectException», из-за которой игре отказано в подключении, то она может произойти по следующим причинам:

  1. Подключение к серверу заблокировано брандмауэром Windows. Чтобы этого избежать, нужно добавить в список исключений каталог с игрой и файлы Java.
  2. Проблема может возникнуть после обновления Minecraft до последней версии, когда в системе используется устаревшая версия Java. В результате это может привести к конфликту с определенными компонентами игры и препятствовать подключению к серверу.
  3. В фоновом режиме работает программное обеспечение, которое не совместимо с Майнкрафт, и вызывает ошибку при соединении с сервером.

Перед применением решений перезагрузите роутер. Возможно, ошибка возникла из-за ошибочной сетевой конфигурации или повреждения кэша DNS. Отключите кабель питания роутера и подождите 2-3 минуты, прежде чем подключить устройство к электросети. Когда подключение к интернету будет установлено, попробуйте запустить игру.

Кроме того, найдите по запросу в интернете список приложений, которые несовместимы с определенными компонентами Minecraft, и удалите их, если они присутствуют на компьютере.

Connection timed out: no further information – особенности дисфункции

В переводе текст данного сообщения выглядит примерно как «Сетевой сбой Java. Время соединения истекло: дальнейшая информация отсутствует».

Указанная ошибка Java.net.ConnectException обычно возникает во время подключения к серверу игры «Майнкрафт», но также фиксировались спорадические случаи появления данной ошибки при работе других продуктов, использующих «Java» (к примеру, на «Azure notification hub»).

Появление проблемы «Java.net.ConnectException: Connection timed out: no further information» имеет следующие причины:

  • Пользователь использует нестабильное сетевое соединение с медленным интернетом;
  • На ПК пользователя установлена устаревшая версия «Java»;
  • Пользователь пользуется устаревшей версией «Майнкрафт»;
  • Наблюдаются сбои в работе игрового сервера, к которому пробует подключиться пользователь (ресурс не доступен, проходят технические работы и др.);
  • Антивирус или брандмауэр блокирует подключения к игровому серверу;
  • Пользователь использует динамический IP;
  • Пользовательский роутер работает некорректно.

Port forwarding Your Network

Here are the steps you take to port forward your network to help you fix the Minecraft error.

  1. Login to your router. If you have not entered any device name, Username, or password for this before, you can likely find them on a sticker on the bottom of your router or in the papers you got with your router.
  2. Navigate to the “Port Forwarding” section. This may also be called “Virtual Server.” You might have to look under the “Advanced” options.
  3. You should now be on a page where you can enter a Device name, a Port, an IP address, and the option to choose a Protocol.
  4. Fill in those fields with the appropriate information by looking up the info on your computer. For the Protocol, the option is usually TCP/UDP or Both.
  5. Click “Apply” or “Save” to finish.
  6. Start Minecraft again and check if you now have access to your server.

What Are The Primary Causes Of This Error?

There can be several reasons why the “io.netty.channel.abstractchannel$annotatedconnectexception connection refused” error triggers on your Windows PC while playing Minecraft. But in broad-spectrum, it has five primary causes.

  1. Your IP or the network port is conflicting with the game server or fails to make a secure connection with the host.
  2. Windows Firewall is blocking the connection or the program altogether in the background.
  3. The Minecraft or Java installed on your system may be outdated and needs an update.
  4. The driver of your network adapter or router, or modem is outdated.
  5. There is a bug in the installation file, or any file is missing from the installation directory.

This error can also trigger if you haven’t restarted your router or modem for a long time. You also need to clear your cache and cookies at frequent intervals.

3 Common Fixes For The Connection Error

Before you try any pro methods or advance fixes to solve this error, you should first try these three general methods to fix it.

1. Restart Your Router

If you want to know how to fix the io.netty.channel.abstractchannel$annotatedconnectexception error, you should start by trying some general fixes that typically solve most of the problem. Restarting your router should be your top priority as it can solve the router cache errors that can trigger this issue.

  • Step 1: Locate the “Power” button at the back of your router and turn it off.
  • Step 2: Unplug the router and modem and keep it like that for 2 minutes.
  • Step 3: Plug in your router or modem in the power socket and wait for 60 more seconds.

  • Step 4: Switch on the “Power” button again and let all the lights stabilize and stop flickering.
  • Step 5: Restart your computer and connect to the router again.

Even if you don’t face any issues, you should restart your modem and router at least once a week. Restarting your router at frequent intervals can improve the performance and power cycle.

2. Update The Network Adapter Drivers

Not just your router but an absolute or outdated network driver can also cause this error. So, you need to update your drivers regularly to avoid these issues.

  • Step 1: Click on the “Magnifying Glass” icon at the bottom-left corner of your Windows taskbar.
  • Step 2: Type “Device Manager” and hit enter.

  • Step 3: Locate “Network Adapter” from the newly opened window and expand it.
  • Step 4: Right-click on each header to select “Update Driver” and follow the on-screen instructions.

Step 5: Update each network driver and reboot your system.

You will most probably get the “Realtek” or “TAP-Windows” option in the “Network Adapter” section. Updating these two will most likely solve the problem, although it is better to update each available option.

3. Reset Network Configurations

If you haven’t flushed your DNS for too long or haven’t reset your IP, you may encounter the issue of getting a netty channel error while playing Minecraft. Follow these steps to resolve it.

Step 1: Type “Command Prompt” or “CMD” in the windows search option and hit enter.

  • Step 2: Select the top option from the result and click on “run as administrator” to open the command prompt.
  • Step 3: Type “,” “,” “,” “,” and “t” one after another and hit enter.

Step 4: Reboot your computer and reconnect to your router.

FAQs

Q. What does “IO Netty channel AbstractChannelAnnotatedConnectException” mean?

It is typically an annotated error that triggers mainly while the host PC (your system) fails to make a secured connection to the game server of Minecraft. High ping, unstable internet connectivity, and even using a VPN can trigger this error. Besides, you may have cache or cookies issues as well.

Q. How do I fix an IO Netty server?

You should start by restarting your Windows PC, rebooting the router, and power-cycle your modem. Besides, you should relaunch your game too. You may also resort to advance fixes like port forwarding, whitelisting Minecraft from your Windows Firewall, and manually adding IP to the Minecraft server as well.

Q. How do you update Netty in Minecraft?

First, extract the “Server” jar file from your game directory and navigate to the “minecraft_server.1.12.2.jar\io\netty\” file. Second, download any latest netty package and copy the “netty-all-4.1.9.Final.jar\io\netty\” folder. Third, go back to the server file, delete all the six folders, and paste the new folders you have already copied. Once the replacement is done, repack the folder into a new jar file and relaunch the game.

Понравилась статья? Поделиться с друзьями:
Компьютерная помощь
Добавить комментарий

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: