Failed to bind to port ошибка

  • Partition Wizard

  • Partition Magic

  • How to Fix Minecraft Server Failed to Bind to Port [5 Ways]

By Ariel | Follow |
Last Updated December 20, 2021

When running the Minecraft server, a lot of people encounter the “Minecraft server failed to bind to port” error. Are you also struggling to fix the error? Now, you come to the right place. This post of MiniTool summarizes 5 accessible troubleshooting methods.

Why Minecraft Server Failed to Bind to Port

The Minecraft server failed to bind to port error often appears while Minecraft port forwarding and hosting for friends. After analyzing multiple user reports and forums, some possible reasons for the issue are explored.

The improper IP configuration is the main cause of the Minecraft failed to bind to port. If the port and IP address is being used by another server, it will trigger the error. Besides, some users reported that the Minecraft server failed to bind to port when Java is running in the background.

How to Fix Minecraft Server Failed to Bind to Port

When you encounter the “failed to bind to port” error for the first time, you can try restarting your computer and connecting to your router. If the simple restart fails to work, don’t worry. There are many effective troubleshooting methods for you.

Fix 1. Terminate Java Through Task Manager

As mentioned above, the “failed to bind to port Minecraft” error can be triggered by any processes of Java running in the background. To fix the error, you can try terminating the Java-related processes through Task Manager. Here’s how.

Step 1. Right-click the Start menu and select Task Manager from the context menu.

Step 2. In the Process tab, right-click the Java process and select End Task. Then follow the step to end all the Java-related processes. Make sure that a program named Java (TM) Platform SE Binary is terminated in the background.

end the Java application running in the background

Step 3. Navigate to the Startup tab and ensure that the Java application is disabled in the startup process.

Now, you can restart the server and check if the Minecraft server failed to bind to port issue still persists.

Fix 2. Change the Server.properties for Minecraft

The most common reason for Minecraft failed to bind to port error comes from the incorrect IP configuration. If you have entered something besides the “server-ip=” in the server.properties file, you will encounter the “failed to bind to port Minecraft server” error.

You can fix the issue by changing the server.properties file. For that:

Step 1. If there isn’t Notepad on your Windows PC, you need to install a text editor to edit the server files.

Step 2. Press Win + E keys to open the File Explorer, and then navigate to the Minecraft Server folder.

Step 3. Right-click on the Server.properties file and select Open with Notepad.

Step 4. In the text editor, find the Server-ip= option by pressing the Ctrl + F key and search for it.

Step 5. If you find an IP Address in the front of the Server-ip= option, remove the IP address. Then click on the Five > Save buttons and exit the text editor.

Now, you can run the server and see if the “failed to bind to port Minecraft server” error is fixed.

Fix 3. Add .jar/java/javaw as an Exception on Your Local Firewall

In the Minecraft forums, we found some users fixed the Minecraft failed to bind to port error by adding .jar/java/javaw as an exception to the local Firewall. Probably you should have a try. To do so, follow the steps below:

Step 1. Type firewall in the search box and then select the Windows Defender Firewall from the context menu.

Step 2. Click on Allow an app or feature through Windows Defender Firewall from the left pane.

Allow an app or feature through Windows Defender Firewall

Step 3. Tick the checkbox for jar/java/javaw file from the list of installed programs and click on OK to save the changes.

Fix 4. Renew Ipconfig

As you know, the failed to bind to port Minecraft server error can be caused by network issues. Renewing ipconfig is one of the most common ways to fix the internet issue. Here we will show how to renew ipconfig.

Step 1. Press Win + R keys to call out the Run dialog box and type cmd in the box. Then click on Shift + Ctrl + Enter keys to open an elevated command prompt so that you can run as administrator.

open command prompt

Step 2. Type the following commands one by one and hit Enter after each one. After running all commands below, you need to wait some time for this process.

  • ipconfig /flushdns
  • ipconfig /release
  • ipconfig /renew

renew ipconfig

After that, you can check if the Minecraft server failed to bind to port issue is resolved.

Fix 5. Run Network Troubleshooter

In addition, you can run the network troubleshooter to fix internet issues. It can help detect network issues and try fixing them. Right-click the Network icon at the notification menu and select Troubleshoot problems. Then Windows will diagnose the problems automatically and help you fix them.

click on Troubleshoot problems

About The Author

Ariel

Position: Columnist

Ariel has been working as a highly professional computer-relevant technology editor at MiniTool for many years. She has a strong passion for researching all knowledge related to the computer’s disk, partition, and Windows OS. Up till now, she has finished thousands of articles covering a broad range of topics and helped lots of users fix various problems. She focuses on the fields of disk management, OS backup, and PDF editing and provides her readers with insightful and informative content.

Can’t create or host a server on Minecraft on Windows with an error message saying ‘Failed to Bind to Port’?

One of the best features of Minecraft is that it allows you to join or host servers online, in which you can invite your friends so that you can play together in the world that you have created. However, it is really frustrating when the feature decides to malfunction especially if you are the one tasked by your friends to host the server. 

Minecraft failed to bind to port

This kind of error usually occurs when the Java program on your computer runs on the background, which triggers a bug or error related to server hosting. On other occasions, the ‘Failed to Bind to Port’ error can also occur due to improper network settings, outdated network drivers, or an overprotective firewall. 

To eliminate this specific problem on Minecraft, we decided to create a guide that will show you different techniques on how to fix the ‘Failed to Bind to Port’ error on Minecraft. 

Let’s get started! 

  • 1. Restart Your Computer. 
  • 2. Check Your Internet Connection. 
  • 3. Use the Network Troubleshooter.
  • 4. Update Your Network Drivers. 
  • 5. Terminate Jave on Your Computer. 
  • 6. Temporarily Disable Your Firewall. 
  • 7. Clear Your IP Settings. 

1. Restart Your Computer. 

For the first method, what we recommend you do is to give your computer a simple restart. It is possible that some of your system resources related to your network may not be loaded properly the first time you turn on your computer which causes the problem on Minecraft. 

To rule out this scenario, you can try rebooting your operating system by doing the steps below. 

  1. On your computer, click on the Start button located at the taskbar below your screen. 
  2. Inside the Start menu, click on the Power button to open the Power Options menu. 
  3. Lastly, click on Restart. This will begin to reboot your computer.

Minecraft failed to bind to port

Wait for the process to finish, then go back to Minecraft and try to host a server to see if the error message would still occur on your computer. 

However, if the problem is still present after rebooting your operating system, you can proceed to the next method below to try and fix the issue with Minecraft. 

2. Check Your Internet Connection. 

Hosting a server on Minecraft would require a fast and stable connection from your internet so that you and your friends can play without any problems. However, if you are seeing a ‘Failed to Bind to Port’ error message on Minecraft, it can indicate that your internet connection is currently having issues. 

To verify this, you can try running a speed test on your computer using a third-party website like Fast.com (provided by Netflix) which can accurately measure your internet upload and download speed. 

Minecraft failed to bind to port

If the speed test result comes out slow or not close to the specified internet speed bandwidth on your monthly subscription, what you can do next is to restart your router. In restarting your router, locate the power cable on your router and unplug it. Now, wait for at least 5-10 seconds to allow the router to rest, then plug it back into your router to turn it on again. 

Internet Modem Power Cycle

Once the router has booted up, go back to your browser and perform another speed test to see if your internet connection is already fixed. However, if you are still having issues with your internet, then we recommend you to contact your ISP (Internet Service Provider) and report to them the issue that you are dealing with their internet service. 

3. Use the Network Troubleshooter. 

Since the ‘Failed to Bind to Port’ error message is related to your network connection, what you can try doing next is to run the Windows network troubleshooter which can effectively diagnose and fix problems related to your internet connection. 

To use the troubleshooter, check out the steps below to guide you through the process. 

  1. Press on the Windows key + S and search for Troubleshoot. Then hit Enter. 
  2. Inside the Troubleshoot settings, click on Internet Connections. 
  3. Lastly, click on Run the Troubleshooter. Follow the on-screen prompts to guide you on how to use the network troubleshooter. 

Minecraft failed to bind to port

After that, go back to Minecraft and try to host another server once again to see if the error message would still occur on the game. 

4. Update Your Network Drivers. 

If the troubleshooter was not able to fix the issue on Minecraft, what you can try doing next is to update your network drivers. It is possible that your drivers got corrupted during use or it has an existing bug or error which causes problems to the game when you try to host a server. 

To rule this out, you can check for an update on your drivers by doing the steps below. 

  1. On your keyboard, press on the Windows key + S and search for Device Manager. 
  2. After that, click on Open to launch it. 

Windows Device Manager

  1. Next, click on Network Adapters to expand it. 
  2. Lastly, right-click on your network driver and select Update Driver. Follow the on-screen prompts to properly update the driver on your computer. 

Minecraft failed to bind to port

After installing the driver update, restart your computer and try to host another server on Minecraft again to see if the ‘Failed to Bind to Port’ error message would still occur on your computer. 

On the other hand, if you are still unable to host a game on Minecraft, what you can do next is to check if Java is running in the background. 

5. Terminate Java on Your Computer. 

For some unknown reasons, if the Java program on your computer is running in the background problems with hosting a server on Minecraft occur. In this case, what you should do is to close the Java program on your computer manually before hosting a server on the game. 

To do this, check out the guide below. 

  1. On your computer, press and hold the CTRL + ALT + DEL key on your keyboard to open the selection screen. 
  2. Next, click on Task Manager. 
  3. Lastly, find the Java program from the list of apps running on your computer and click the End Task button to close it. 

Minecraft failed to bind to port

Now, go back to Minecraft and try to host a server once again to see if the error message would still occur on your computer. 

6. Temporarily Disable Your Firewall. 

Since Minecraft uses your network to create a virtual server for your friends to join, it is possible that your firewall is actually blocking Minecraft from making any changes on your network which triggers the ‘Failed to Bind to Port’ error message. 

To bypass this, you can try disabling your firewall while hosting servers on Minecraft. Check out the steps below on how to do this. 

  1. First, press on Windows key + S on your keyboard and search for Windows Defender Firewall.
  2. Next, click on Open

Windows Defender Firewall

  1. Inside the Windows Firewall, click on Turn Windows Firewall On or Off. 
  2. Lastly, turn off Windows Firewall and click on Ok to save the changes. 

Minecraft failed to bind to port

After that, go back to Minecraft once again and try to host a server to see if the ‘Failed to Bind to Port’ error message would still occur. 

7. Clear Your IP Settings. 

For the final method, what you can do is to erase the IP Address on Minecraft’s server properties. It is possible that the IP address set on the game’s server properties is already in use by another server which causes the error message. 

To fix this, you can try clearing the IP address on your server properties. 

  1. First, open the Server folder for Minecraft using the File Explorer. 
  2. Next, scroll down and right-click on server.properties. 
  3. After that, click on Edit with Notepad. 

  1. Lastly, find the server-ip line on Notepad and clear its values. Save the changes and close Notepad. 

Minecraft failed to bind to port

Now, go back to Minecraft and try to host another server to check if the error message would still occur on the game. 

This sums up our guide on how to fix the ‘Failed to Bind to Port’ error on Minecraft. If you know other ways on how to fix this kind of issue on the game, feel free to share it in the comment section below. 

If this guide helped you, please share it. 🙂

  • John Sixto

    John is a staff writer at Saint and comes from a SAP ABAP development background. He has a Bachelors in IT and has been writing since 2018, with over 500 posts published. He loves to build PCs and has a deep curiosity in understanding how different components and configurations work. John spends hundreds of hours at a time, researching and testing the software and apps, before he proceeds to write about it. LinkedIn
    Twitter

Скрыть объявление

В преддверии глобального обновления, мы проводим исследования, которые помогут нам сделать опыт пользования форумом ещё удобнее. Помогите нам, примите участие!
  1. Предисловие
    Так бывает, что вы хотите запустить игровой сервер для друзей со своего домашнего компьютера, но сталкиваетесь со столь популярной ошибкой — Failed to bind to port.
    Казалось бы, материалов на эту тему полно, но ни один из них не помог решить проблему.
    Что же, перед вами моя статья, и она поможет разобраться в вопросе.
    Однако в этот раз придётся думать чуть больше, чем тогда, когда вы пытались открыть порт при помощи скайпа.
    Следующая информация даст вам базовые представления о том, что и как работает в вашем же компьютере, в вашей же квартире и в нашем интернете.
    Кому-то, уверен, статья поможет запустить игровой сервер.
    А кому-то, возможно, откроет глаза на что-то более интересное и важное.
    В любом случае, надеюсь, я смогу сэкономить время многим людям.

    Я не претендую на звание мудрого старца, а предоставленная мной информация не является истиной в последней инстанции.
    Я не имею специального технического образования в сфере. И, как и любой другой человек, могу ошибаться.
    Если вы уверены, что я не прав в чём-либо — просто напишите об этом с необходимыми пояснениями. Я всегда готов разобраться в ситуации и признать свои ошибки.
    Также я буду рад предложениям дополнить статью вашими материалами.

    В далёком 2013-м я захотел запустить игровой сервер «для друзей».
    Сколько я не пытался следовать различным гайдам — результат был неутешительный.
    Тогда я был полностью уверен, что делаю что-то не так.
    К сожалению, тогда я так и не наткнулся ни на один сайт, который объяснил бы, что я бьюсь головой в железную дверь.
    Проще говоря, в моей ситуации не было нормальной возможности запустить сервер во внешней сети, но об этом позже.
    Если бы у меня тогда была эта статья — я бы разобрался со всем буквально за час, а не тратил бы недели на тщетные попытки поиграть с друзьями.
    Конечно, уже тогда был любимый Хамачи, но его 3 или даже 5 слотов нам явно не хватало.
    Впрочем, обо всём по порядку.

    Что же, начнём с того, что определимся, на какому порту будет работать наш сервер.
    По большому счёту это не имеет никакого значения.
    Поэтому предлагаю стандартный для Java версии — 25565.
    Именно он будет использоваться мной во всех объяснениях и примерах.

    Поехали дальше.
    Давайте сразу разберёмся с тем, имеется ли у нас в принципе возможность сделать сервер доступным во внешней сети.
    Для этого нужно понять, имеется ли у нас выделенный IP-адрес.
    Выделенный — значит наш персональный.
    Выделенный IP выдаётся только одному лицу — только для нашей квартиры, например.
    Дело в том, что уже сейчас IPv4-адресов на всех не хватает, из-за этого за одним реальным адресом может находиться несколько лиц.
    Под одним IP-адресом в сеть могут попадать сразу целые дома, улицы или даже небольшие города.
    Представьте, что один из таких «коммунальных квартирантов» запустит сервер.
    Как мы по одному лишь IP-адресу поймём, что нужно попасть именно к нему?
    Напомню, что за этим же IP могут скрываться ещё десятки, а то и сотни других квартир.

    Чисто технически можно реализовать сервер даже в таких условиях — потребуется некий «проброс порта» (об этом ниже).
    Но ни один провайдер не пойдёт на подобные ухищрения — если только за хорошую оплату.
    Однако обычно провайдеры за дополнительные деньги предлагают услугу выделенного айпи-адреса.
    Поэтому в 99% случаев для поднятия сервера наш вариант — выделенный адрес.
    Такие адреса зачастую называют белыми или прямыми, хотя мне такие названия не по душе из-за несодержательности.

    Обязательно к прочтению:

    Очень прошу не путать «Выделенный/белый IP» и «Статический IP».
    Это совершенно разные понятия.
    Судя названию, выделенный — это персональный.
    А статический — тот, который не меняется со временам.
    Даже если ваш адрес является статическим, и никогда не меняется — это не означает, что он является выделенным.
    И, соответственно, не означает, что вы можете запускать свой сервер в глобальную сеть.
    Опять же, целый дом из сотен и тысяч квартир может годами пользоваться одним и тем же единственным IPv4-адресом.
    И ни один из жильцов при этом не сможет сделать доступным свой сервер из внешней сети.

    Собственно, как конкретно проверить, является ли ваш IP выделенным?
    Всё довольно просто — нужно сравнить тот адрес, что выдал нам провайдер с тем адресом, который используется при выходе во внешнюю сеть.

    Наш внешний адрес мы можем посмотреть, например, тут: 2ip.ru
    Именно под внешним адресом нас видят все сайты, другие сервера и сервисы.
    Именно по этому адресу к нам будут подключаться люди на наш сервер.

    Адрес, выданный провайдером, нужно смотреть на том устройстве, куда, собственно, втыкается провод от провайдера.

    Думаю, у большинства людей сейчас этим устройством является роутер.
    Собственно, заходим туда и находим раздел IP или DHCP.
    Для всех роутеров это будет выглядеть по-разному, но лично у меня вот так:
    upload_2019-4-30_5-14-8.png

    Иногда IP-адрес загружается не автоматически, а настраивается вами вручную при подключении интернета — это не столь важно.

    Видел и такое, что провод от провайдера втыкается сразу в компьютер.
    Тут разобраться можно быстрее, потому что всё универсально.
    Ну, по крайней мере для Windows…
    Открываем cmd, прописываем команду ipconfig и видим список сетевых интерфейсов своего компьютера.
    Нас интересует «Адаптер Ethernet», если мы подключены по проводу и «Адаптер WiFi/беспроводный сети», если подключены без лапши.
    Названия могут отличаться, но суть везде одна. Главное с Bluetooth не спутайте.
    Теперь нужна строка «IPv4-адрес» — это и будет адрес, выданный провайдером (или вашем же оборудованием, если подключены через него).
    Выглядеть будет примерно так:
    upload_2019-4-30_5-14-18.png

    Про свитчи, патчи и прочие приблуды спрашивать не нужно. Думаю, вы и сами всё понимаете.

    Собственно, теперь у нас есть адрес от провайдера и наш внешний адрес.
    Теперь, как я писал выше, их нужно просто сравнить.

    Поздравляю, у вас выделенный адрес и вы можете без проблем организовать свой сервер во внешней сети.
    Вы можете продолжать читать материал, следующая информация для вас.
    Что же, у меня плохие новости.
    Видимо, вам придется заказывать у провайдера услугу выделенного айпи.
    Вероятно, адрес, выданный вам провайдером, попадает в один из этих диапазонов:
    10.0.0.0 — 10.255.255.255
    100.64.0.0 — 100.127.255.255
    172.16.0.0 — 172.31.255.255
    192.168.0.0 — 192.168.255.255
    Не исключено, что прямо сейчас ваш сосед — Вася из 5Б — оскорбляет админа на вашем любимом сервере майнкрафта.
    И если его отправят в бан по IP — вы тоже не сможете построить свою коробку возле спауна.
    Какая жалость.
    Впрочем, вы знаете, что делать.
    Васю, конечно, искать не стоит, а вот заказать выделенный IP — вполне можно.
    Заодно и свой сервер удастся запустить.
    А пока такой возможности нет — боюсь, эта статья не для вас.

    В 2013-м я как раз оказался в ситуации, когда провайдер пожадничал моей семье выделенный IP-адрес.
    С вероятностью 100% два адреса не совпали бы, если бы тогда их нашёл и сравнил.
    К сожалению, я не так быстро осознал всю плачевность своей ситуации.
    Можно было бы поставить Хамачи и успокоиться.
    Но я продолжил искать варианты решения своего вопроса, пропустив самый важный шаг — проверка наличия выделенного IP.
    К сожалению, тогда я потратил ещё какое-то время на разборки с пробросом портов на роутере, открытием портов при помощи скайпа и юторрента.
    Тогда я не понимал, что все эти действия не имеют ни малейшего смысла.
    Поэтому поздравляю, у вас есть эта статья, а значит есть возможность не тупить из-за нехватки знаний.

    Теперь, когда вы уверены, что у вас выделенный адрес, вы готовы запустить сервер во внешнюю сеть «здесь и сейчас».
    Но не всё так просто, если вы пользуетесь, например, своим роутером.
    Проецируем ситуацию с кучей жильцов дома на вашу квартиру.
    Теперь уже за вашим роутером могут скрываться несколько устройств.
    Телефоны ваших родственников, ваш компьютер или ноутбук, планшет рыбки и всё остальное, что подключено к домашнему интернету.

    Тут на помощь приходит проброс портов.
    Условно говоря, необходимо настроить роутер таким образом, чтобы при получении сигнала на 25565 порт он чётко понимал, что этот сигнал нужно перенаправить на конкретное устройство.
    Например, на ваш ноутбук.
    Теперь все, кто «стучится» на роутер по 25565 порту — отправляется на наш ноутбук, потому что роутер отправил «гостей» туда.
    Надеюсь, суть вы уловили.
    Конкретную инструкцию по пробросу не даю, т.к. всё, опять же, зависит от модели вашего устройства.
    Информации в интернете полно, думаю, справитесь.

    Теперь, казалось бы, все запросы должны приходить на наш компьютер и прямиком на наш сервер.
    Но нет… Осталась последняя преграда — фаервол (он же сетевой фильтр и брандмауэр на ОС Windows).
    Это специальная программа, которая защищает компьютер от внешнего воздействия.
    Это крайне важно, если компьютер подключён непосредственно ко внешней сети, а не через защищённый доверенный роутер, например.
    Условно говоря, фаервол — это сторожевая собака на страже вашего компьютера.
    Назначение фаервола в том, чтобы пропускать лишь тот интернет-трафик, который не сможет принести вреда.
    Зачастую фаерволы запрещают абсолютно всю входящую информацию на домашних компьютерах, т.к. обычно такие компьютеры не используются в качестве серверов.
    Что же, наша задача — разрешить входящие подключения на порт 25565.
    Обращаю внимание, что фаервол может находиться как на уровне роутера, так и на уровне компьютера (обычно и там, и там).
    Подробнее о том, как конкретно настроить разрешение порта — можно почитать в интернете.
    Опять же, существует огромное множество роутеров, операционных систем и антивирусных программ (которые тоже зачастую фильтруют сетевой трафик).
    Ищите то, что подходит именно вам.

    Вы, наверно, уже успели подумать, что сообщение «Failed to bind to port» из заголовка темы — это кликбейт?
    Не тут-то было!
    Решение конкретно этой проблемы можно описать одним предложением:
    «Уберите из server.properties значение параметра server-ip=оставьте его пустым«
    Собственно, это всё.
    Скорее всего, вы не разобрались в вопросе, поэтому вписали туда неверное значение — свой адрес с 2ip.ru, например.
    Самым корректным значением параметра является то, что было там изначально — это отсутствие значения.
    Ещё раз — айпи в server.properties указывать не нужно.
    В 99% процентах случаев это не требуется, если вы обычный пользователь обычного домашнего интернета.
    Удивлены?
    Возможно, когда-нибудь я расскажу о том, почему это работает именно так.
    А так же о том, что туда всё же можно вписать, если уж прям хочется.

    Ну и, справедливости ради, стоит упомянуть ещё о том, что порт действительно может быть занят другой программой.
    Но, как правило, этого не происходит, если вы не суёте свои руки в настройки программ по типу скайпа и юторрента.
    Честно откровенно, я ещё ни разу за 20 лет своей жизни не видел, чтобы на стандартном 25565 порту работало что-то кроме сервера майнкрафта.
    В целом, оно и не должно.
    Порт занят другим приложением?
    Меняете в этом приложении порт или вовсе завершаете приложение.
    Думаю, больше разжёвывать этот момент не имеет смысла.
    В интернете полно однообразных статей про «Failed to bind to port», в которых вам всё подробно об этом расскажут.

    По итогу имеем 5 основных причин проблем неработоспособности сервера:
    1) Отсутствие выделенного IP-адреса
    2) Неправильная маршрутизация внутри сети — отсутствие проброса или других настроек
    3) Фильтрация трафика на любом из этапов — роутер/ос/антивирус
    4) Неверное заполнение server-ip в server.properties
    5) Занятость порта другой программой

    Собственно, на этом всё.

    Статья подготовлена @Dymeth специально для RuBukkit.org

    Есть ли вопросы по прочитанному материалу?
    Стоит ли мне продолжать писать?
    Если так — о чём ещё стоит рассказать?

    В будущем, если будет время и желание, я займусь (или не займусь) следующими статьями:
    1) Какой IP нужно указывать в server.properties? (разница 0.0.0.0, 127.0.0.1 и localhost, пара слов об интерфейсах)
    2) Принципы работы…

    И других подобных сервисов (+пара слов о VPN, хостингах и серверах)
    3) Как найти роутер и попасть в него, пара советов по настройке
    4) Зачем вообще указывать IP в server.properties? (+пара слов о нескольких адресах на одном сервере)
    5) Несколько слов о DynDNS и подобных сервисах (+возможно поговорим о доменах)
    6) Ещё чуть-чуть о ситуации с IPv6

    Последнее редактирование: 15 янв 2023

  2. Flajakay

    Flajakay
    Активный участник
    Пользователь

    Баллы:
    76
    Имя в Minecraft:
    Flajakay

    Побольше бы таких крутых гайдов))

  3. Опоздал лет на 5. Уже никто дома не хостит.


  4. imDaniX

    imDaniX
    Активный участник
    Пользователь

    Баллы:
    96
    Имя в Minecraft:
    imDaniX

    Недавно здесь был паренек с такой проблемой. Пусть будет, в конце концов — может кому и пригодится.

  5. Почему бы и не похостить сервер для друзей на своём компе?
    Более того, на форуме регулярно всплывают вопросы о том, почему же сервер не запускается или недоступен. Правда модер их быстро чистит.
    Да и сама статья немного шире, чем просто о майнкрафте


  6. Laserink

    Laserink
    Новичок

    Баллы:
    6
    Имя в Minecraft:
    Laserink

    ngrok и нет никаких проблем с покупкой выделенных адресов, открытием портов и т.д.
    Одна команда в командной строке программы решит всё

  7. Все бы сидеть за условно фришными впн тунелями. При первой же активности тебя нахер пошлют и скажут, ты нам такой не нужен «Васа» :D. Да и ограничений небось дохрелион. Про пинг даже говорить не стоит.


  8. Laserink

    Laserink
    Новичок

    Баллы:
    6
    Имя в Minecraft:
    Laserink

    Ограничения — невозможно подключить ркон, невозможно банить по айпи (возможно, правда вот забанив одного в бан улетят все игроки сервера), а также сервер работает пока работает программа.

  9. Често скажу так,если кто не хочет пользоваться хостингом, то это хороший вариант,сам сижу делают сервер не на хостинге а на втором пк с Ubuntu server, закол****ся с портами но потом оказалось всё просто)

Поделиться этой страницей


Rubukkit - свой сервер Minecraft

Minecraft is a sandbox construction game that has been developed by Mojang AB. It has been existent and popular ever since its release and has recently acquired a renewal in its popularity. Players can also create their servers and host games for their friends. However, quite recently, a lot of people have been facing the “Failed to Bind Port” Error while running their servers.

“Failed to Bind Port” Error on Minecraft

What Causes the “Failed to Bind to Port” Error on Minecraft?

After receiving numerous reports from multiple users, we decided to investigate the issue and devised a set of solutions to fix it completely. Also, we looked into the reasons due to which it is triggered and listed them as follows.

  • IP Issue: In some cases, if you have set a specific IP Address for the server to use, this error can be triggered. The IP Address and the port number might already be in use by another server hosted by somebody else due to which this issue might be triggered.
  • Java Binary: If there is an instance of Java running in the background, this issue can be triggered. It seems to be a glitch where sometimes Java runs in the background and the error is triggered while running the server.

Now that you have a basic understanding of the nature of the problem, we will move on towards the solutions. Make sure to implement these in the specific order in which they are provided to avoid conflict.

Solution 1: Terminating Java

This issue was triggered in some cases due to an instance of Java running in the background. Therefore, in this step, we will be using the Task Manager to identify and eliminate any instance of Java running in the background. For that:

  1. Press “Windows” + “R” to open the Run prompt.
    Running the Task Manager
  2. Type in “taskmgr” and press “Enter” to open the Task Manager.
  3. Click on the “Processes” tab and look for any instance of Java running in the background.
  4. If there is one, click on it and select the “End Task” Button to eliminate it.
  5. Make sure that there isn’t even a single application named “Java (TM) Platform SE Binary” running in the background.
    Selecting Java (TM) Platform SE Binary and clicking on the “End Task” button
  6. Start the server and check to see if the issue persists.

Solution 2: Changing the IP Configuration

In some cases, the combination of the IP Address and the port number that is being used by the computer to create the server might already be in use by another server. Therefore, in this step, we will be configuring the server in such a way that it will automatically identify a valid IP Address. For that:

  1. We will need a text editor to edit the server files.
  2. Navigate to this address and download the appropriate version of Notepad++.
  3. Once downloaded, install it by following the onscreen prompts.
  4. Once installed, open the “Server” Folder for Minecraft and right-click on the “Server.properties” file.
    Server.properties file inside the server folder for Minecraft
  5. Select the “Edit with Notepad++” option.
    Clicking on the “Edit with Notepad++” option
  6. Find the “Server-ip=” option.
  7. There might be an IP Address written in front of this option.
    There is an IP Address written in front of the option
  8. Erase the IP Address in front of the option and save your changes.
    Erasing the address
  9. Run the server and check to see if the issue persists.

Note: If your server has been hosted by a hosting service, it is best to contact them and get this issue sorted from their end. Also, if the above methods don’t solve your issue contact your ISP and ask them to change your IP Address and try again.

Photo of Kevin Arrows

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.

Back to top button

Minecraft – одна из самых популярных игр среди симуляторов выживания. Раньше вся суть геймплея сводилась к постройке домов и защите от монстров. Сейчас же разработчики добавили возможность играть по сети, что позволяет пользователям общаться прямо во время игры. Все это достигается с помощью серверов, которые создаются самими же пользователями. В данной статье будет рассмотрена ошибка «Failed to bind to port», возникающая при попытке запуска сервера.

Устранить сбой довольно легко. Для этого достаточно проделать некоторые манипуляции с командной строкой, поэтому первым делом запустим ее: одновременно нажимаем Win + R и в появившееся поле вводим cmd. После этого нажимаем «Ок».

Открываем командную строку

Открываем командную строку

На экране откроется черное окно, в котором нужно прописать слово «ipconfig». Затем нажимаем «Enter».

Пишем ipconfig

Пишем ipconfig

Система выведет большое количество текста, среди которого нужно скопировать содержимое строки «IPv4 адрес».

Копируем IP-адрес

Копируем IP-адрес

Теперь переходим в папку с сервером от открываем файл «server». Здесь находим строку «server-ip» и заменяем имеющейся IP-адрес на скопированный.

Находим строку «server-ip» и заменяем имеющейся IP-адрес

Находим строку «server-ip» и заменяем имеющейся IP-адрес

Затем закрываем файл с сохранением изменений. После этого заходим в браузер и скачиваем программу UTorrent. Процесс установки софта простой, поэтому останавливаться на этом не будем. Теперь запускаем утилиту и кликаем по кнопке «Настройки», далее «Настройки программы», затем «Соединение». В последней вкладке нужно прописать свой порт. В завершении сохраняем изменения и пробуем запустить сервер.

Заключение

Таким образом, устранить ошибку Failed to bind to port в Minecraft довольно просто. Достаточно внести некоторые изменения в файл «server» и программу UTorrent. Если у вас есть другие варианты решения проблемы, то обязательно поделиться ими в комментариях.

Оценка статьи:

Звёзд: 1Звёзд: 2Звёзд: 3Звёзд: 4Звёзд: 5 (8 оценок, среднее: 4,50 из 5)

Загрузка…

Самое читаемое:

Как включить комментарии в Телеграмм канале

10.02.2023

Как включить комментарии в Телеграмм канале

В последних версиях приложения Telegram появилось новшество – возможность оставления комментариев к посту….

Далее

Как установить дополнительные виджеты на экран телефона Андроид

17.03.2022

Как установить дополнительные виджеты на экран телефона Андроид

Если у Вас возникли сложности с тем, чтобы добавить виджеты приложений на смартфон, то это пошаговое руководство…

Далее

Как очистить кэш телеграмма на телефоне Андроид

17.03.2022

Как очистить кэш телеграмма на телефоне Андроид

Люди, которые активно используют мессенджеры, зачастую не догадываются о том, что в их мобильных гаджетах…

Далее

Как скопировать ссылку на свой телеграмм Андроид

17.03.2022

Как скопировать ссылку на свой телеграмм Андроид

Любой из пользователей мессенджера Телеграм в тот или иной момент времени задавался вопросом, как узнать, где…

Далее

  • Failed to add install user to 2 group oracle ошибка
  • Failed to add class member altium designer ошибка
  • Failed remote flashing is not allowed in lock state ошибка при перепрошивке телефона
  • Failed exit code 1 postgresql ошибка
  • Failed creating render backend ошибка