Failed To Bind To Port

Discussion in 'Bukkit Help' started by Kartal, Feb 24, 2012.

  1. Offline

    Kartal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello, My server always used to work but now i got the newest Minecraft version so i need the newest Craftbukkit too, now today when i try to start the server it says :
    [INFO] Starting minecraft server version 1.1
    [INFO] Loading properties
    [INFO] Starting Minecraft server on *:25565
    [WARNING] **** FAILED TO BIND TO PORT!
    [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
    [WARNING] Perhaps a server is already running on that port?

    Yes i do have the newest Java version, Yes i have portforwarded, No there is no Java.exe or Javaw.exe in the processes list, Yes the serverip= is blank in the server.properties, Yes i have rebooted my computer many times, Yes I've tried changing the port but it still failed to bind. So i'm asking for your help and i hope i will receive an answer soon how to fix this.

    This post has been edited 2 times. It was last edited by Kartal Feb 24, 2012.
  2. Offline

    cray_Z

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My guess is that, 25565 port is busy. try changing port= in the server.properties file to 25566.
  3. Offline

    Kartal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Like i already said, i have tried changing the ports alot but it still doesn't work.

    This post has been edited 1 time. It was last edited by Kartal Feb 24, 2012.
  4. Offline

    Kartal

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

    itorrent

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    is the "server-ip=" node empty? Because if you enter an invalid ip your sever will give u a similar error.
  6. Offline

    TnT Trinitrotoluene Maximus Administrator Bukkit Help

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Have you read and followed the directions in this post?
  7. Offline

    Kartal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes i have read that, and yes the "'server-ip=" node is empty . This is the server log :
    Code:
    2012-02-26 22:08:14 [INFO] Starting minecraft server version 1.1
     
    2012-02-26 22:08:14 [INFO] Loading properties
     
    2012-02-26 22:08:14 [INFO] Starting Minecraft server on *:25565
     
    2012-02-26 22:08:14 [WARNING] **** FAILED TO BIND TO PORT!
     
    2012-02-26 22:08:14 [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind
     
    2012-02-26 22:08:14 [WARNING] Perhaps a server is already running on that port?
     
    2012-02-26 22:08:15 [SEVERE] java.lang.NullPointerException
     
    2012-02-26 22:08:15 [SEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:569)
     
    2012-02-26 22:08:15 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
     
    2012-02-26 22:08:15 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
    2012-02-26 22:08:15 [SEVERE] Unexpected exception
     
    java.lang.NullPointerException
     
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:569)
     
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
     
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
    2012-02-26 22:08:16 [INFO] Stopping server
     
    2012-02-26 22:08:16 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     
    2012-02-26 22:08:16 [SEVERE] at java.util.ArrayList.rangeCheck(Unknown Source)
     
    2012-02-26 22:08:16 [SEVERE] at java.util.ArrayList.get(Unknown Source)
     
    2012-02-26 22:08:16 [SEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:394)
     
    2012-02-26 22:08:16 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:465)
     
    2012-02-26 22:08:16 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    This post has been edited 2 times. It was last edited by Kartal Feb 26, 2012.
  8. Offline

    Kartal

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

    flyingcodfish

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

    I'm having the same problem, and as Kartal did, have tried everything I've seen on other web pages. There is nothing helpful out there. I really hope someone can solve this soon.
  10. Offline

    brinaq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] [diamond] ...
    to the person who posted this thread in the first place! I needed my port forwarding to work and I had my router IP in the properties! Thanks for telling me this! How could I have overlooked that :p?
    I wish I could help YOU now :D
  11. Offline

    jacklin213

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    EDIT 1:your [sever errors] is 50% caused by outdated sever
    u realised your sever is outdated n u need to enter ur forwarded exturnal ip in the "sever ip="
    and if it still doesnt work turn "online mode" to off

    This post has been edited 1 time. It was last edited by jacklin213 May 23, 2012.

Share This Page