How can I resolve a "FAILED TO BIND TO PORT" error message on my Linode running Minecraft?

Linode Staff

I've noticed the following messages when trying to start Minecraft:

[08:03:26] [Server thread/WARN]: **** FAILED TO BIND TO PORT!


[08:03:26] [Server thread/WARN]: Perhaps a server is already running on that port?

How can I fix this?

1 Reply

The Setting Up a Server section of the Minecraft Wiki page suggests that you may be encountering this issue because you put an IP address in the server-ip field in your server.properties file. As such, you may want to leave this entry blank. You may refer to the following question for more insight:

Q: Whenever I try to get the server up, it says "Failed to bind to port!".

If you're still running into an issue, you may run the following commands to determine if there's anything listening on the port that would prevent Minecraft from running properly:

sudo apt install net-tools
netstat -pan | grep -i <port> 

Then, you may refer to these guides on how to stop an interfering process/service that you may not want running.

Use killall and kill Commands to Stop Processes on Linux

How To Start, Stop, And Restart Services In Linux

I'd also like to share our documentation on our Minecraft One-click App for future reference:

Marketplace: Minecraft

Deploy a Minecraft Server with One-Click Apps

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct