Solved Can't Bind Port?

Discussion in 'Bukkit Help' started by WhiteHatHacker1, Dec 23, 2012.

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

    WhiteHatHacker1

    I am in a bit of a predicament. You see every-time I run craftbukkit.jar or craftbukkit-beta.jar they both tell me,

    "6:33:41 [INFO] Starting minecraft server version 1.4.5 (or 6 if it's beta)
    06:33:41 [INFO] Loading properties
    06:33:41 [INFO] Default game type: SURVIVAL
    06:33:41 [INFO] Generating keypair
    06:33:41 [INFO] Starting Minecraft server on 25.28.202.217:25565
    06:33:41 [WARNING] **** FAILED TO BIND TO PORT!
    06:33:41 [WARNING] The exception was: java.net.BindException: Address already in use
    06:33:41 [WARNING] Perhaps a server is already running on that port?"

    I then get this crash report filed,

    "---- Minecraft Crash Report ----
    // I let you down. Sorry :(

    Time: 12/23/12 6:33 AM
    Description: Exception in server tick loop

    java.lang.NullPointerException
    at net.minecraft.server.v1_4_5.DedicatedServer.al(DedicatedServer.java:254)
    at net.minecraft.server.v1_4_5.DedicatedServer.a(DedicatedServer.java:200)
    at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:433)
    at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.4.5
    Operating System: Linux (amd64) version 3.6.10-1-ARCH
    Java Version: 1.7.0_10, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 115705208 bytes (110 MB) / 123731968 bytes (118 MB) up to 1836187648 bytes (1751 MB)
    JVM Flags: 0 total;
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: [net.minecraft.server.v1_4_5.ICommandListener, IMojangStatistics, IDataManager, ...], [org.bukkit.World, BlockChangeDelegate, Server], [org.bukkit.block.BlockState], [org.bukkit.command.CommandSender, RemoteConsoleCommandSender], [org.bukkit.configuration.serialization.ConfigurationSerializable], [org.bukkit.craftbukkit.Main], [org.bukkit.craftbukkit.libs.jline.TerminalFactory, Terminal, Flavor, ...], [org.bukkit.craftbukkit.libs.jline.console.ConsoleReader, CursorBuffer, ConsoleKeys, ...], [org.bukkit.craftbukkit.libs.jline.console.completer.CompletionHandler, CandidateListCompletionHandler], [org.bukkit.craftbukkit.libs.jline.console.history.History, MemoryHistory], [org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader, Configuration, Log, ...], [org.bukkit.craftbukkit.libs.joptsimple.OptionException, OptionParser, OptionSpec, ...], [org.bukkit.craftbukkit.libs.joptsimple.internal.AbbreviationMap, ReflectionException, Reflection, ...], [org.bukkit.craftbukkit.v1_4_5.LoggerOutputStream, CraftServer], [org.bukkit.craftbukkit.v1_4_5.inventory.CraftItemStack, CraftRecipe, CraftShapedRecipe, ...], [org.bukkit.craftbukkit.v1_4_5.potion.CraftPotionEffectType], [org.bukkit.craftbukkit.v1_4_5.util.Waitable, ServerShutdownThread, TerminalConsoleHandler, ...], [org.bukkit.event.Event, Cancellable, HandlerList, ...], [org.bukkit.event.block.BlockEvent, BlockFadeEvent, BlockGrowEvent, ...], [org.bukkit.event.entity.EntityEvent, EntityInteractEvent, EntityDamageEvent, ...], [org.bukkit.event.hanging.HangingEvent, HangingPlaceEvent], [org.bukkit.event.painting.PaintingEvent, PaintingPlaceEvent], [org.bukkit.event.player.PlayerEvent, PlayerInteractEvent, PlayerFishEvent], [org.bukkit.event.server.ServerEvent, MapInitializeEvent, ServerCommandEvent], [org.bukkit.event.world.WorldEvent, WorldSaveEvent, WorldInitEvent, ...], [org.bukkit.inventory.ItemStack, Recipe, ShapedRecipe, ...], [org.bukkit.map.MapView], [org.bukkit.metadata.Metadatable], [org.bukkit.permissions.ServerOperator, Permissible], [org.bukkit.plugin.messaging.PluginMessageRecipient], [org.bukkit.potion.PotionEffectType, PotionEffectTypeWrapper], [org.fusesource.jansi.AnsiOutputStream, Ansi, NoAnsi, ...]
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    CraftBukkit Information:
    Running:
    Failed to handle CraftCrashReport:
    java.lang.NullPointerException
    at org.bukkit.Bukkit.getName(Bukkit.java:68)
    at org.bukkit.craftbukkit.v1_4_5.CraftCrashReport.call(CraftCrashReport.java:20)
    at net.minecraft.server.v1_4_5.CrashReportSystemDetails.a(SourceFile:74)
    at net.minecraft.server.v1_4_5.CrashReport.h(CrashReport.java:43)
    at net.minecraft.server.v1_4_5.CrashReport.<init>(CrashReport.java:30)
    at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:443)
    at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)

    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'craftbukkit'
    Type: Dedicated Server (map_server.txt)"

    The IP I'm trying to run it on is a Hamachi one. I downloaded it from the AUR and have made sure everything on my system is up-to-date. I have tried running the server without specifying an IP and I get the same message. Does anyone know how to fix this?

    P.S. Just to be clear I'm running Archlinux x86_64 on an intel CORE i5 processor with 8 GB of RAM.
     
  2. Offline

    drampelt

    Failed to bind port means that some other program is using that port. Taken from here,
     
  3. Offline

    WhiteHatHacker1

    Thanks (^_^)
     
Thread Status:
Not open for further replies.

Share This Page