Failed to bind port

[00:03:10] ain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[00:03:10] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[00:03:10] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[00:03:10] ain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[00:03:10] ain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[00:03:10] [Server thread/INFO]: Starting minecraft server version 1.15.1
[00:03:10] [Server thread/INFO]: Loading properties
[00:03:10] [Server thread/INFO]: Default game type: SURVIVAL
[00:03:10] [Server thread/INFO]: Generating keypair
[00:03:10] [Server thread/INFO]: Starting Minecraft server on 10.0.0.101:25565
[00:03:10] [Server thread/INFO]: Using epoll channel type
[00:03:10] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[00:03:10] [Server thread/WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Cannot assign requested address
[00:03:10] [Server thread/WARN]: Perhaps a server is already running on that port?
[00:03:10] [Server thread/INFO]: Stopping server
[00:03:10] [Server thread/INFO]: Saving worlds
[00:03:10] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:558) ~inecraft_server.1.15.1.jar:?]
at net.minecraft.server.MinecraftServer.r(SourceFile:586) ~inecraft_server.1.15.1.jar:?]
at wd.r(SourceFile:593) ~inecraft_server.1.15.1.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:688) inecraft_server.1.15.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

fresh install on unraid. portfoward allready done, no matter what i do this happens. do i need to change anything in the docker settings?

Anyone??? having this same problem

Failure to bind to port usually always means what the error message say:

[00:03:10] [Server thread/WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Cannot assign requested address
[00:03:10] [Server thread/WARN]: Perhaps a server is already running on that port?

Some service or server software is allready using that port. Use the information here https://www.cyberciti.biz/faq/what-process-has-open-linux-port/ to check what is running on that port.

This tells me you have the 10.0.0.101 value in the server.properties field.

In almost 99% of cases, you do not want to fill out this field to match the IP address of the machine. Instead, leave it empty, so it listens on “all” interfaces, 0.0.0.0.

Of course,

This suggests you may also/alternatively have a server actually running a server, but since you’re saying it happens in your fresh install, etc. etc., I’d say you should clear out that server-ip field and try it again.

thanks! got it. so do i just port forward and my buddies should be able to join with my public ip???

1 Like

Yep, port-forwarding is all you should need to do at this point.