java.netBindException: Cannot assign requested address: JVM_Bind

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

  1. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    "*" 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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'd try rebooting the system if I were you :p
  7. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Done many times my friend.
  8. Offline

    Ice_Sword

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you post your server properties file?

    This post has been edited 2 times. It was last edited by Ice_Sword Feb 28, 2012.
  9. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The only explanation is something running in the bg.. Have you looked through other threads that pertain to your issue?
  11. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    *shrugs*
  13. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah it's confusing, i'm guessing it's a problem with my java, although i already did re-install it...
  14. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Bump, i wanna fix this.
  15. Online

    TnT Trinitrotoluene Maximus Administrator Bukkit Help

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  16. Offline

    sk8r776

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @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. Online

    TnT Trinitrotoluene Maximus Administrator Bukkit Help

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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?

    This post has been edited 1 time. It was last edited by JayzaSapphire Jul 17, 2012.
  20. Online

    TnT Trinitrotoluene Maximus Administrator Bukkit Help

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Post your server.properties file.
  21. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  22. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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...
  23. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    have you try reinstalling java cause thats what i did to fix this
  24. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've completly uninstalled java and it did nothing, and yes i use java 6, i hate java 7.
  25. Offline

    HON95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you by any chance on a Windows with Hamachi installed?
  26. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    then reinstall java >.>
  27. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Windows yes, but no, i haven't used hamachi in nearly a year.

    I have reinstalled it -.-
  28. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    still the wierd problem?? do u mind stating ur problem again now lol
  29. Offline

    JayzaSapphire

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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..
  30. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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=)

Share This Page