I am trying to create a server one my home computer with my Apple Time Capsule. I went to "server properties" in my server file and put in my ip. I ran "start_server.command" and it said this: 00:14:14 [INFO] Starting minecraft server version 1.2.5 00:14:14 [INFO] Loading properties 00:14:14 [INFO] Starting Minecraft server on (my ip removed) 00:14:14 [WARNING] **** FAILED TO BIND TO PORT! 00:14:14 [WARNING] The exception was: java.net.BindException: Can't assign requested address 00:14:14 [WARNING] Perhaps a server is already running on that port Please if you know why I can't get it to work or know how to solve it, please put the answer below!
Try restarting your computer. If that won't work, you may have to change the port you use in server.properties
anything else, but try restarting your computer and router first. The error should only really apply if you're running two server's at once, but sometimes the router or computer clings on to the port even after you close a server.
I restarted my Comp. I will restart the router soon. I did try to create a server before but it failed so I must have done something to mess up something on my Comp.
Port forwarding is necessary in order to run a server on your computer using an external IP. In other words, it's a way of telling your computer to let players connect to your server through your IP. Here's a tutorial on port forwarding: http://forums.bukkit.org/threads/tutorial-running-a-server-port-forwarding-hamachi.27018/
alright, open up your server.properties, and make sure the "server-ip:" is blank. Then set the "server-port:" to 25579 or something then start the server, and open up minecraft. In minecraft, connect to the ip "localhost:25579"
@r0306 I made that tutorial, but this problem means its trying to connect to a port that is being used by another process already. Possibly a vanilla minecraft server. But you're right about needing to port forward, although that comes after he fixes this issue
@ImminentFate If it were another server running, the error would be: Code: Address is already in use: JVM_Bind
I have a feeling that your IP you are using is invalid or it got updated. Check that your server.properties IP is up-to-date here: www.whatismyip.org.
@r0306 You are right. And so am I the exception is java.net.BindException: Now, port forwarding will only help him if he actually has a usable port to forward onto. If he gets an error at the computer level, It will never go through the router. The first step is to actually get to the stage where he can run the server locally. Once he wants other people to join, port-forwarding comes in. See what I'm getting at?
Yes. BindException is thrown when the server cannot bind either the IP or the port to run on. You are right. It's not a problem of port forwarding. Rather, I strongly believe that the IP address he is using is not the same as his current IP.
there are two tutorials on that page. One for hamachi, one for port forwarding. Only do hamachi if port-forwarding becomes impossible
Then after you've port forwarded, go to www.whatismyip.org and give your friends that IP to connect to. And like @ImminentFate said, only use hamachi if you have to (like if you don't know the router login info).