Why does the bind to port not work on my mc server?

Ke
- in Servers
9

I'm trying to set up a minecraft server so I can play with my friends on it. But something does not work. This is in the console:

Loading libraries, please wait…

[05:16:22 INFO]: Starting minecraft server version 1.8

[05:16:22 INFO]: Loading properties

[05:16:22 INFO]: Default game type: SURVIVAL

[05:16:22 INFO]: This server is running CraftBukkit version git-spigot-c3c767f-33d5de3 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)

[05:16:22 INFO]: Debug logging is disabled

[05:16:22 INFO]: Server Ping Player Sample Count: 12

[05:16:22 INFO]: Using 4 threads for Netty based IO

[05:16:22 INFO]: Generating keypair

[05:16:22 INFO]: Starting Minecraft server on overwatch.ddns.net:25565

[05:16:22 WARN]: FAILED TO BIND TO PORT!

[05:16:22 WARN]: The exception was: java.net.BindException: Can't assign requested address: bind

[05:16:22 WARN]: Perhaps a server is already running on that port?

[05:16:22 INFO]: Stopping server

[05:16:22 INFO]: Saving players

> Press any key…

What should I do?

Ma

Test times from the PC if the port is open I do not know grad which protocol MC needs

otherwise check again whether something else is running on the port

vllt n other server? Or the same server in the background

Ke

How can i test this?

Ad

Apparently a server is already running on this port. Restart PC or look in Task Manager

Ke

've restarted pc and now it is there:

[09:00:20 INFO]: Starting minecraft server version 1.8

[09:00:20 INFO]: Loading properties

[09:00:20 INFO]: Default game type: SURVIVAL

[09:00:21 INFO]: This server is running CraftBukkit version git-spigot-c3c767f-33d5de3 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)

[09:00:21 INFO]: Debug logging is disabled

[09:00:21 INFO]: Server Ping Player Sample Count: 12

[09:00:21 INFO]: Using 4 threads for Netty based IO

[09:00:21 INFO]: Generating keypair

[09:00:21 INFO]: Starting Minecraft server on overwatchhentai.ddns.net:25565

[09:00:21 WARN]: **** FAILED TO BIND TO PORT!

[09:00:21 WARN]: The exception was: java.net.BindException: Can't assign requested address: bind

[09:00:21 WARN]: Perhaps a server is already running on that port?

[09:00:21 INFO]: Stopping server

[09:00:21 INFO]: Saving players

> Press any key…

Ke

What should I finish in the task manager?

Iv

Two services on the same port can't work.

-> service = server

The error:

FAILED TO BIND TO PORT!

means another service is already using the port.

I do not know if you leave the server hosting somewhere (McHost, etc).

If you have a VServer, then you can start several Minecraftserver. Just have to change the port in the server.properties to another one.

Ke

I host the server on my PC

Ke

Must then release the other port everywhere?

Iv

Yes, if you want the server to be reachable outside of your network, of course you have to release the new port as well.