FreeMCHost logoFreeMCHost
All articles
Troubleshooting

Fix "FAILED TO BIND TO PORT" on a Minecraft Server

Why your Minecraft server cannot open its port, and how to fix it on a host or on your own computer.

December 5, 20263 min read

What it means

**** FAILED TO BIND TO PORT! appears when the server asks the system for a network port and is refused. The server then stops.

The three causes

  • A second copy is still running. An old Java process holds the port. Stop it, or restart the machine.
  • server-ip is filled in. In server.properties, leave server-ip= empty. It is not the address players type.
  • Wrong port. On a host, server-port must be the port assigned to your server.

On your own computer

Find which program holds port 25565:

netstat -ano | findstr 25565
ss -ltnp | grep 25565

The first command is for Windows, the second for Linux.

Related