Skip to main content
criticalServer ErrorsAffects: All versions

How to Fix Failed to Bind to Port

Fix Failed to Bind to Port by stopping conflicting processes on port 25565 or changing the server port.

Quick Fix

Check if another process is using port 25565 and stop it, or change the port in server.properties.

Error Message

FAILED TO BIND TO PORT! Perhaps a server is already running on that port?

How to Fix

1

Check for processes on port 25565: netstat -tlnp | grep 25565 (Linux) or netstat -aon | findstr 25565 (Windows)

2

Kill any existing process using the port

3

Change server-port in server.properties to a different port

4

Wait 30 seconds after stopping a server before restarting

5

Ensure server-ip in server.properties is blank or correct

Common Causes

  • Another server or process is already using port 25565
  • Previous server instance did not shut down cleanly
  • Firewall blocking the port
  • Incorrect server-port in server.properties

Diagnostic Steps

  1. Check if port 25565 is in use
  2. Stop any conflicting processes
  3. If needed, change the port in server.properties
  4. Restart the server

FAQ

Can I run two servers at once?

Yes, but each must use a different port. Change server-port in server.properties for the second server.

Related Errors

Need More Help?