java.netBindException: Cannot assign requested address: JVM_Bind

Discussion in 'Bukkit Help' started by JayzaSapphire, Feb 27, 2012.

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

    JayzaSapphire

    174 recipes
    27 achievements
    2012-02-28 16:14:47 [INFO] Starting minecraft server version 1.1
    2012-02-28 16:14:47 [WARNING] **** NOT ENOUGH RAM!
    2012-02-28 16:14:47 [WARNING] To start the server with more ram, launch it as "j
    ava -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2012-02-28 16:14:47 [INFO] Loading properties
    2012-02-28 16:14:47 [INFO] Starting Minecraft server on *:25565
    2012-02-28 16:14:47 [WARNING] **** FAILED TO BIND TO PORT!
    2012-02-28 16:14:47 [WARNING] The exception was: java.net.BindException: Cannot
    assign requested address: JVM_Bind
    2012-02-28 16:14:47 [WARNING] Perhaps a server is already running on that port?

    There is no instance of the server running in the background, i have port forwarded, i have also tried 10.0.0.* (ipv4), localhost, and 127.0.0.1, this is a recent error that happened on it's own, i have tried to find out if something is using the port and didn't find anything, i have also tried to change the port and it still gives an error. And yes i know this is vanilla.
     
  2. Offline

    sillyrosster

    Don't put the IP in the server.properties. Restart the computer just to make sure nothing is running in the bg too.
     
  3. Offline

    JayzaSapphire

    As you can clearly see there is no server ip in the properties as stated by the '*', i have also said there is no instance of the server running, i know how to manage a server but this is an error i have never had and have no idea how to fix.
     
  4. Offline

    Ice_Sword

    "*" is something. "*" usually means anything that meets any previous criteria. Just to clarify, there is absolutely nothing at in the server properties IP Address line, correct?
     
  5. Offline

    JayzaSapphire

    Yes, it is left blank, and this is not the error that is given when the server is already running (have had that many times -.- ).
     
  6. Offline

    Chrisward

    I'd try rebooting the system if I were you :p
     
  7. Offline

    JayzaSapphire

    Done many times my friend.
     
  8. Offline

    Ice_Sword

    Can you post your server properties file?
     
  9. Offline

    JayzaSapphire

    Sorry didn't know you edited and didn't get a alert,


    #Minecraft server properties
    #Sun Feb 26 18:30:04 EST 2012
    online-mode=true
    spawn-npcs=false
    pvp=true
    allow-flight=true
    spawn-animals=false
    server-ip=
    server-port=25565
    motd=ZCP Plugin Creation.

    That's all it's generated seeing as it doesn't want to start anymore.
     
  10. Offline

    sillyrosster

    The only explanation is something running in the bg.. Have you looked through other threads that pertain to your issue?
     
  11. Offline

    JayzaSapphire

    There is no thread that i have found with my topic anywhere, the only threads i found about this type is where it's running in the background and it says a different error when that occurs.
     
  12. Offline

    sillyrosster

    *shrugs*
     
  13. Offline

    JayzaSapphire

    Yeah it's confusing, i'm guessing it's a problem with my java, although i already did re-install it...
     
  14. Offline

    JayzaSapphire

    Bump, i wanna fix this.
     
  15. Offline

    TnT

  16. Offline

    sk8r776

    The fact that you are running a server without a Static IP is asking for trouble. Only your clients should move not the server. I would always put an IP in that config file. Just so the server knows the IP to listen on.
     
  17. Offline

    JayzaSapphire

    TnT i read completly throught that post it is not there, and this is a completly different error to the "already running server" one.
    Everyone on that says to the server-ip, but with this i have to put one in for it to work. e.g. I use my computer name for the ip "server-ip=Sapphire"

    Code:
    182 recipes
    27 achievements
    01:05:07 [INFO] Starting minecraft server version 1.2.5
    01:05:07 [INFO] Loading properties
    01:05:07 [INFO] Starting Minecraft server on Sapphire:25565
    01:05:08 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0
    -b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
    01:05:08 [INFO] [WorldEdit] Loading WorldEdit v5.2
    01:05:08 [INFO] [BackOnDeath] Loading BackOnDeath v0.3
    01:05:08 [INFO] [PbAutoRank] Loading PbAutoRank v0.2
    01:05:08 [INFO] [SpawnPoiint] Loading SpawnPoiint v0.1
    01:05:08 [INFO] [PermissionsBukkit] Loading PermissionsBukkit v1.6
    01:05:08 [INFO] [SpawnPoiint] Enabling SpawnPoiint v0.1
    01:05:08 [INFO] Preparing level "werld"
    01:05:08 [INFO] Default game type: 0
    01:05:08 [INFO] Preparing start region for level 0 (Seed: 0)
    01:05:09 [INFO] Preparing spawn area: 61%
    01:05:10 [INFO] [WorldEdit] Enabling WorldEdit v5.2
    01:05:10 [INFO] WorldEdit 5.2 enabled.
    01:05:10 [INFO] WEPIF: Using the Bukkit Permissions API.
    01:05:10 [INFO] WEPIF: Using the Bukkit Permissions API.
    01:05:10 [INFO] [BackOnDeath] Enabling BackOnDeath v0.3
    01:05:10 [INFO] [BackOnDeath]: Not using Vault; could not be found.
    01:05:10 [INFO] [PbAutoRank] Enabling PbAutoRank v0.2
    01:05:10 [INFO] [PbAutoRank] [PbAutoRank] PermissionsBukkit found, enabling.
    01:05:10 [INFO] [PbAutoRank] [PbAutoRank] AutoRanking to Guest
    01:05:10 [INFO] [PermissionsBukkit] Enabling PermissionsBukkit v1.6
    01:05:10 [INFO] [PermissionsBukkit] Enabled successfully, 0 players registered
    01:05:10 [INFO] Server permissions file permissions.yml is empty, ignoring it
    01:05:10 [INFO] Done (2.064s)! For help, type "help" or "?"
    This is the normal error ("server-ip=")

    Code:
    182 recipes
    27 achievements
    01:07:36 [INFO] Starting minecraft server version 1.2.5
    01:07:36 [INFO] Loading properties
    01:07:36 [INFO] Starting Minecraft server on *:25565
    01:07:36 [WARNING] **** FAILED TO BIND TO PORT!
    01:07:36 [WARNING] The exception was: java.net.BindException: Cannot assign requ
    ested address: JVM_Bind
    01:07:36 [WARNING] Perhaps a server is already running on that port?
    I can only start it with a server ip listed, and i want to fix this cause currently i can't start the local in-game server for minecraft snapshots.
     
  18. Offline

    TnT

    The issue is still the same. Don't run multiple servers on the same port, do not use an ip in your server-ip= line.
     
  19. Offline

    JayzaSapphire

    I wasn't running the server on the same port, i stopped it and then started without an ip and it didn't work. It works listing an ip.

    There's also a difference in errors:

    2 Servers running:
    182 recipes
    27 achievements
    01:36:19 [INFO] Starting minecraft server version 1.2.5
    01:36:19 [INFO] Loading properties
    01:36:19 [INFO] Starting Minecraft server on Sapphire:25565
    01:36:19 [WARNING] **** FAILED TO BIND TO PORT!
    01:36:19 [WARNING] The exception was: java.net.BindException: Address already in
    use: JVM_Bind
    01:36:19 [WARNING] Perhaps a server is already running on that port?


    My error:
    182 recipes
    27 achievements
    01:42:56 [INFO] Starting minecraft server version 1.2.5
    01:42:56 [INFO] Loading properties
    01:42:56 [INFO] Starting Minecraft server on *:25565
    01:42:56 [WARNING] **** FAILED TO BIND TO PORT!
    01:42:56 [WARNING] The exception was: java.net.BindException: Cannot assign requ
    ested address: JVM_Bind
    01:42:56 [WARNING] Perhaps a server is already running on that port?
     
  20. Offline

    TnT

    Post your server.properties file.
     
  21. Offline

    JayzaSapphire

    Here.

    This works.
    allow-nether=false
    level-name=werld
    enable-query=false
    allow-flight=false
    server-port=25565
    level-type=FLAT
    enable-rcon=false
    level-seed=876
    server-ip=Sapphire
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    online-mode=true
    pvp=true
    difficulty=1
    server-name=Zetheron
    gamemode=0
    max-players=6
    spawn-monsters=true
    view-distance=10
    generate-structures=true
    motd=DevServer [1.2.5]

    This doesn't.
    allow-nether=false
    level-name=werld
    enable-query=false
    allow-flight=false
    server-port=25565
    level-type=FLAT
    enable-rcon=false
    level-seed=876
    server-ip=
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    online-mode=true
    pvp=true
    difficulty=1
    server-name=Zetheron
    gamemode=0
    max-players=6
    spawn-monsters=true
    view-distance=10
    generate-structures=true
    motd=DevServer [1.2.5]

    As i said it only works with an ip specified, just seems like it can't find anything to connect to.

    And as i've seen by other posts this error appears to be when the server is trying to use the externl ip address to start, maybe on my computer it automatically goes to that instead of localhost etc...

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

    jacklin213

    have you try reinstalling java cause thats what i did to fix this
     
  23. Offline

    JayzaSapphire

    I've completly uninstalled java and it did nothing, and yes i use java 6, i hate java 7.
     
  24. Offline

    HON95

    Are you by any chance on a Windows with Hamachi installed?
     
  25. Offline

    jacklin213

    then reinstall java >.>
     
  26. Offline

    JayzaSapphire

    Windows yes, but no, i haven't used hamachi in nearly a year.

    I have reinstalled it -.-
     
  27. Offline

    jacklin213

    still the wierd problem?? do u mind stating ur problem again now lol
     
  28. Offline

    JayzaSapphire

    My server will only start with specifying an ip, like it's automaitcally connecting to my external ip, or connectiong to nothing, it works fine if i specify something: localhost, 127.0.0.1, 192.168.1.101, Sapphire (My computer name)
    I'm thinking it might have something to do with the firewall, but i don't think anything is blocked, i've reset the firewall a couple of times, did nothing..
     
  29. Offline

    jacklin213

    wait ur saying it works when u do 192.168.1.101 well its 100% ment to work when u put ur internal ip in the (server-ip=)
     
  30. Offline

    JayzaSapphire

    Yes i know that, but the reason why i wanna fix this is cause it bugs me when i download and make a new server i have to put the ip in instead of just letting it load and i can't host my single player worlds on the new mc snapshots because it won't connect to anything to start the server.
     
Thread Status:
Not open for further replies.

Share This Page