Startup Issue with Minecraft - "FAILED TO BIND TO PORT!"

System Information

Field Value
Operating System Linux - Debian GNU/Linux 11 on x86_64
Product AMP ‘Decadeus’ v2.4.6.6 (Mainline)
Virtualization QEMU_KVM
Application Minecraft
Module MinecraftModule
Running in Container No
Current State Failed

Problem Description


Every time I attempt to launch the server it claims that a server is already running on the port.

Reproduction Steps

  • Start Server
  • Server fails to start, reports that the port is in use.
  • Try to restart, fail anyway.

Have you checked to see if anything else is running on that port? Perhaps a previous attempt to set up a MC server?

Using a host, so I’m not sure. I’ve shut down and restarted the VPS completely, not sure what it could be.

Run ss -l -t | grep 25565 (assuming your MC server is on that port) to see if something is using it.

Could also be the possibility that sleep mode was active during a scheduled restart, which would lock up the port.
Fix for that is to stop/start the instance, then change the schedule to remove the scheduled restart.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.