1
**** FAILED TO BIND TO PORT! Error
I recently updated my server and threw away the old one. So, I decided to test the server using localhost. It works! So, I send my friend to try it out (Note: I use port map to manage my Ports). He can't join, so I try it using my IP (Instead of using localhost on the server edit menu) and it doesn't work. I change it using sever.properties... it doesn't work. And it gives me this text.
My-Mac-mini:~ guy64$/Users/someguy64/Desktop/Spigot\ Server\ 1.9/start.command ; exit;
Loading libraries, please wait...
[13:56:03 INFO]: Starting minecraft server version 1.9
[13:56:03 INFO]: Loading properties
[13:56:03 INFO]: Default game type: CREATIVE
[13:56:04 INFO]: This server is running CraftBukkit version git-Spigot-86016ba-94ba824 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
[13:56:04 INFO]: Debug logging is disabled
[13:56:04 INFO]: Server Ping Player Sample Count: 12
[13:56:04 INFO]: Using 4 threads for Netty based IO
[13:56:04 INFO]: Generating keypair
[13:56:05 INFO]: Starting Minecraft server on <MY IP>:25566
[13:56:05 INFO]: Using default channel type
[13:56:05 WARN]: **** FAILED TO BIND TO PORT!
[13:56:05 WARN]: The exception was: java.net.BindException: Can't assign requested address
[13:56:05 WARN]: Perhaps a server is already running on that port?
[13:56:05 INFO]: Stopping server
[13:56:05 INFO]: Saving players
>logout
[Process completed]
I don't know what to do... it works fine when I change both IP entering locations to localhost, but when I use my REAL IP (With Portmap turned ON) it doesn't work. Please help me. If you can fix email me (@miles.d.nye@gmail.com) or reply in the comments.
My-Mac-mini:~ guy64$/Users/someguy64/Desktop/Spigot\ Server\ 1.9/start.command ; exit;
Loading libraries, please wait...
[13:56:03 INFO]: Starting minecraft server version 1.9
[13:56:03 INFO]: Loading properties
[13:56:03 INFO]: Default game type: CREATIVE
[13:56:04 INFO]: This server is running CraftBukkit version git-Spigot-86016ba-94ba824 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
[13:56:04 INFO]: Debug logging is disabled
[13:56:04 INFO]: Server Ping Player Sample Count: 12
[13:56:04 INFO]: Using 4 threads for Netty based IO
[13:56:04 INFO]: Generating keypair
[13:56:05 INFO]: Starting Minecraft server on <MY IP>:25566
[13:56:05 INFO]: Using default channel type
[13:56:05 WARN]: **** FAILED TO BIND TO PORT!
[13:56:05 WARN]: The exception was: java.net.BindException: Can't assign requested address
[13:56:05 WARN]: Perhaps a server is already running on that port?
[13:56:05 INFO]: Stopping server
[13:56:05 INFO]: Saving players
>logout
[Process completed]
I don't know what to do... it works fine when I change both IP entering locations to localhost, but when I use my REAL IP (With Portmap turned ON) it doesn't work. Please help me. If you can fix email me (@miles.d.nye@gmail.com) or reply in the comments.
6
When you get the "failed the bind port" error, it's because your computer has already detected a server running on the port you defined in the server you're trying to start.
Solution 1.) (mac) Open your terminal, and type this command:
Then find MINECRAFT, or something related. There will be a number next to it, then:
123 is just an example...use the number you find.
Solution 2.) (mac) Open the folder you're using to keep your server in, and open the "server.properties" and edit the line that begins with "port" and change 25565 to 25566 or something other than the default value.
Solution 1.) (mac) Open your terminal, and type this command:
sudo kill -lThen find MINECRAFT, or something related. There will be a number next to it, then:
sudo kill 123123 is just an example...use the number you find.
Solution 2.) (mac) Open the folder you're using to keep your server in, and open the "server.properties" and edit the line that begins with "port" and change 25565 to 25566 or something other than the default value.
The port is already bound. This happens sometimes when the server doesn't shutdown correctly. You can unbind the port (easy way is reboot the computer) and try again.
Are you getting the same error? In that case, try opening up task manager and kill everything that has to do with java. It can happen that the server starts in the background if you don't start it using the bat file.
I use a Mac...
Make sure your server-ip setting in the server.properties is blank.
I tried again with what you said and it still didn't work...
