Solved HOW DO YOU BIND A USED PORT?

Discussion in 'Bukkit Help' started by EdgePW, Feb 2, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    EdgePW

    This is what the server says to me when I try to connect using an external ip: the 99-***-***-***-*** kinda ip...

    174 recipes
    27 achievements
    23:50:45 [INFO] Starting minecraft server version 1.1
    23:50:45 [INFO] Loading properties
    23:50:45 [INFO] Starting Minecraft server on 99.244.17.114:25565
    23:50:45 [WARNING] **** FAILED TO BIND TO PORT!
    23:50:45 [WARNING] The exception was: java.net.BindException: Cannot assign requ
    ested address: JVM_Bind
    23:50:45 [WARNING] Perhaps a server is already running on that port?
    >

    I tried so many things to try to fix it.
    I tried port forwarding it using different ips', killed "java.ex" and "javw.ex", I tried to restard my computer, I attempted to do the "netstat -a" and "netstat -b" thing, and I tried out by messing around with my firewall settings and none of these worked. Can anyone tell me how to fix it? I'm using a Minecraft Launcher by Anjocaido and chill yourselves, I'm gonna buy the legit version so yea, and my PC's an Windows 7 64-bit computer... can someone, anyone, everyone help me?

    and on an additional note:
    when i leave it blank, people cant access my server, and neither can I...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  2. Offline

    CRAZYxMUNK3Y

    Do you have any plugins that could be using that port (such as a MySQL database)?

    Also, have you tried running it in safe mode?
     
  3. Offline

    Dave311

    I'm having exactly the same problem. It keeps saying I already have a server running but I know I don't. I've closed all java processes, restarted computer, deleted the server files and redownloaded them.
    If I leave the server IP blank the server loads and I can connect to it running a copy of minecraft locally via localhost or 127.0.0.1 but then can't connect to it remotely. So I had my IP to the server.properties file and then I get the java error saying there's already a server running on that port

    Does anyone have any ideas?
     
  4. Offline

    Bertware

    You must LEAVE SERVER IP BLANK. Always.
    In order for people to connect, you also need to port-forward your router. Use the search function or google to see how you can do this. The port is 25565.
     
    Snipes01 likes this.
  5. Offline

    JohnTheRipper

    ^ this

    The only reason ever to bind it is if you're on a server with multiple IP addresses.
     
  6. Offline

    EdgePW

    okay so in port forward what do i write? and for firewall what do i write for the same thing?
    and i leave the sever.properties server ip blank?

    View attachment 8318 View attachment 8319 View attachment 8320

    ^ Are these what I need to be on the setting to work? or is there something to change?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  7. Offline

    CRAZYxMUNK3Y

    All seems to be fine with the config... Have you tried disabling the Firewall and tested it? It could be an issue with the config of that...
     
  8. Offline

    travja

    Those pics are what needs to happen in order for it to work and if it doesn't with those than I don't really know the problem, have you restarted your computer in this whole process?
     
  9. Offline

    EdgePW

    im gonna try to disable the firewall... wait disable what?
     
  10. Offline

    Bertware

  11. Offline

    EdgePW

    thanks :D

    it says its offline...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  12. Offline

    Bertware

    that means that your port forwarding isn't correct.

    make sure you are forwarding:
    -port 25565
    -to the correct internal IP
    and bukkit must be running
     
  13. Offline

    EdgePW

    how do you know its the right one?
    is it the ipv4 or the default gateway one?
     
  14. Offline

    Bertware

    ipv4.
    default gateway = router
     
  15. Offline

    EdgePW

    okay. i did all you said... but normally it would say : user not premium when onlinemode: false right?
    it says connection timed out: connect ... what now?
     
  16. Offline

    mixixp

    when the user not premium you logges i but you dont buy minecraft
     
  17. Offline

    EdgePW

    what?

    nvm, i went with hamachi instead... redid the whole thing.. im okay now :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  18. Offline

    jsimmons6422

    lol well side note if u have 2 routers it will mess things up durn the port forword process
     
  19. Offline

    chaseoes

    I'm disappointed.
     
  20. Offline

    EdgePW

    well i only have one... but idk which to type in for the port forwarding: 99.244.17.114 or 192.168.0.12 ...

    the 99*** one doesnt work though cuz it said the server is already being used...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  21. Offline

    CRAZYxMUNK3Y

    99.244.***.*** is your external
    192.168.0.12 is your internal,

    and you always port forward to your internal IP's
     
  22. Offline

    EdgePW

    so what do i type in for the minecraft server? do i type in 99*****?
     
  23. Offline

    CRAZYxMUNK3Y

    If you want to join it... Either type your local IP, or 'localhost'
     
  24. Offline

    EdgePW

    what would the local ip be?
     
  25. Offline

    CRAZYxMUNK3Y

    Start > cmd > ipconfig

    IPv4 Address : <Your local IP>
     
  26. Offline

    EdgePW

    but my friends cant access it though...
     
  27. Offline

    Jade

  28. Offline

    EdgePW

  29. Offline

    Jade

    Send ID and PW in PM, please.
     
  30. Offline

    CRAZYxMUNK3Y

    Darky1126

    Sorry, wasn't really thinking... And if i knew he had TV, i also could have done it a few days back :p

    Oh well, lol
     
Thread Status:
Not open for further replies.

Share This Page