Server starts and stops a few seconds later

I am trying to start a minecraft 1.15.2 vanilla server, mainly as a test to see if the old hardware that I’m using for it can handle being a minecraft server. Well, I got it setup and I am able to access the Web-UI. I press start and the server starts (it even broadcasts on my LAN!) but then about 30 seconds after starting, the server stops. Looking back in the server log, it seems to be something java related.

Below is the logs/latest.log:

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

[22:18:13] ain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:18:13] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:18:13] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:18:13] ain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:18:13] ain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:18:14] [Server thread/INFO]: Starting minecraft server version 1.15.2
[22:18:14] [Server thread/INFO]: Loading properties
[22:18:14] [Server thread/INFO]: Default game type: CREATIVE
[22:18:14] [Server thread/INFO]: Generating keypair
[22:18:14] [Server thread/INFO]: Starting Minecraft server on 192.168.1.25:25565
[22:18:14] [Server thread/INFO]: Using epoll channel type
[22:18:15] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[22:18:15] [Server thread/WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Cannot assign requested address
[22:18:15] [Server thread/WARN]: Perhaps a server is already running on that port?
[22:18:15] [Server thread/INFO]: Stopping server
[22:18:15] [Server thread/INFO]: Saving worlds
[22:18:15] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:559) ~inecraft_server.1.15.2.jar:?]
at net.minecraft.server.MinecraftServer.s(SourceFile:587) ~inecraft_server.1.15.2.jar:?]
at wd.s(SourceFile:597) ~inecraft_server.1.15.2.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:689) inecraft_server.1.15.2.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
[22:19:24] ain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:19:24] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:19:24] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:19:24] ain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:19:24] ain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:19:24] [Server thread/INFO]: Starting minecraft server version 1.15.2
[22:19:24] [Server thread/INFO]: Loading properties
[22:19:24] [Server thread/INFO]: Default game type: CREATIVE
[22:19:24] [Server thread/INFO]: Generating keypair
[22:19:25] [Server thread/INFO]: Starting Minecraft server on 192.168.1.25:25565
[22:19:25] [Server thread/INFO]: Using epoll channel type
[22:19:25] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[22:19:25] [Server thread/WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Cannot assign requested address
[22:19:25] [Server thread/WARN]: Perhaps a server is already running on that port?
[22:19:25] [Server thread/INFO]: Stopping server
[22:19:25] [Server thread/INFO]: Saving worlds
[22:19:25] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:559) ~inecraft_server.1.15.2.jar:?]
at net.minecraft.server.MinecraftServer.s(SourceFile:587) ~inecraft_server.1.15.2.jar:?]
at wd.s(SourceFile:597) ~inecraft_server.1.15.2.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:689) inecraft_server.1.15.2.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
[22:22:56] ain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:22:56] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:22:56] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:22:56] ain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[22:22:56] ain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[22:22:56] [Server thread/INFO]: Starting minecraft server version 1.15.2
[22:22:56] [Server thread/INFO]: Loading properties
[22:22:56] [Server thread/INFO]: Default game type: CREATIVE
[22:22:56] [Server thread/INFO]: Generating keypair
[22:22:57] [Server thread/INFO]: Starting Minecraft server on 192.168.1.25:25565
[22:22:57] [Server thread/INFO]: Using epoll channel type
[22:22:58] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[22:22:58] [Server thread/WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Cannot assign requested address
[22:22:58] [Server thread/WARN]: Perhaps a server is already running on that port?
[22:22:58] [Server thread/INFO]: Stopping server
[22:22:58] [Server thread/INFO]: Saving worlds
[22:22:58] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:559) ~inecraft_server.1.15.2.jar:?]
at net.minecraft.server.MinecraftServer.s(SourceFile:587) ~inecraft_server.1.15.2.jar:?]
at wd.s(SourceFile:597) ~inecraft_server.1.15.2.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:689) inecraft_server.1.15.2.jar:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

Would anyone be able to tell me what I might be doing wrong? Thank you in advance!

If you have any value for the minimum java heap space, the this could cause the server to become unstable. Leave this blank and try again.

Ot stops due to a confilict in port or IP-address

Do you have any ither minecraft servers running on the same machine? They need to have separate and distrinct port numbers.

Have you filled the “Ip-adress” field? It is reccomended to leave it at default or blank, since the server then listens to all possibleinterfaces. if you choose to put in an IP address, it needs to be the same interface and IP-Address as the physical machine is using.

2 Likes

I’m having the same problem and I tried the things you said like keeping heap space blank but it requires me to have it filled
image

You’ll need to specify the XMX, but leave the XMS blank.