text: Discussion in 'Bukkit Help' started by TimeScorpion7, Jun 16, 2012.
  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!
  This post has been edited 1 time. It was last edited by TimeScorpion7 Jun 16, 2012.
  TimeScorpion7,
  Try restarting your computer. If that won't work, you may have to change the port you use in server.properties
  What should I change the port to?
  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.
  What should I do if that does not work?
  TimeScorpion7 said:
  that has nothing to do with it at this stage
  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"
  Even if it might not have to do with that, he should still port forward.
  @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
  This post has been edited 1 time. It was last edited by ImminentFate Jun 16, 2012.
  If it were another server running, the error would be:
  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.
  Sorry so what do I do?
  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.
  Okay @TimeScorpion7
  Try deleting your server.properties file, then run the server
  Oh no I can join if I leave the ip blank I can connect through "localhost"
  that is the only way you can connect.
  So, has the error gone?
  Ok how do I get other people to connect?
  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.
  Read @ImminentFate 's tutorial on Port Forwarding r0306 said:
  This post has been edited 1 time. It was last edited by r0306 Jun 16, 2012.
  Ok so I do the tut. on port forwarding then what?
  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).