Can't start a server failed to bind to port

I think this is in the right category, if not I’m so sorry. When ever I try to start a server, nothing at all happens visually. If I go into the logs, I get some insight on what is happening, although I don’t understand it. And from what I can tell, I need to post that here. I’ll just copy and past the text from the log. If that is not needed sorry.

[19:29:37] ain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[19:29:37] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[19:29:37] ain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[19:29:37] ain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[19:29:37] ain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[19:29:37] [Server thread/INFO]: Starting minecraft server version 1.14.3
[19:29:37] [Server thread/WARN]: To start the server with more ram, launch it as “java -Xmx1024M -Xms1024M -jar minecraft_server.jar”
[19:29:37] [Server thread/INFO]: Loading properties
[19:29:37] [Server thread/INFO]: Default game type: CREATIVE
[19:29:37] [Server thread/INFO]: Generating keypair
[19:29:38] [Server thread/INFO]: Starting Minecraft server on 192.168.0.26:8443
[19:29:38] [Server thread/INFO]: Using epoll channel type
[19:29:39] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[19:29:39] [Server thread/WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Address already in use
[19:29:39] [Server thread/WARN]: Perhaps a server is already running on that port?
[19:29:39] [Server thread/INFO]: Stopping server
[19:29:39] [Server thread/INFO]: Saving worlds
[19:29:39] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:535) ~inecraft_server.1.14.3.jar:?]
at net.minecraft.server.MinecraftServer.l(SourceFile:563) ~inecraft_server.1.14.3.jar:?]
at ui.l(SourceFile:588) ~inecraft_server.1.14.3.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:665) inecraft_server.1.14.3.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

Hopefully that helps. There is nothing else running on that port. I have thoroughly checked. I portforwarded and unportforwared the server. Any help?

[19:29:38] [Server thread/INFO]: Starting Minecraft server on 192.168.0.26:8443

Where are you placing the port number?
You usually dont need to change the port from its default.

I was able to fix the problem by just changing the web UI’s port. I was able to to host it then. But unfortunately later that day I short circuited the computer. But all is well now, a fresh install worked. Thanks!

Glad to hear you got it.
But you shouldnt be changing the web ui port from 8443.
You will then have to have the port at the end of the mc server address, which most people arent used to doing.

1 Like

All right. I made another one and haven’t had that problem so, thanks!