Every Port is in Use when trying to start bukkit

Discussion in 'Bukkit Help' started by MEC666, Feb 21, 2012.

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

    MEC666

    Every time i try to start craftbukkit on my centos 6 system, its saying every port is in use. 1.1R4 is what i'm using.

    i switched to localhost, and one of my unused IP's. and it gives me the same error every time.

    Code:
    2012-02-21 04:31:42 [INFO] Starting minecraft server version 1.1
    2012-02-21 04:31:42 [INFO] Loading properties
    2012-02-21 04:31:42 [INFO] Starting Minecraft server on 127.0.0.1:26666
    2012-02-21 04:31:42 [WARNING] **** FAILED TO BIND TO PORT!
    2012-02-21 04:31:42 [WARNING] The exception was: java.lang.NoSuchMethodError: method java.net.ServerSocket.setPerformancePreferences with signature (III)V was not found.
    2012-02-21 04:31:42 [WARNING] Perhaps a server is already running on that port?
    2012-02-21 04:31:46 [SEVERE] 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)
    doesnt matter what port i try none of them seem to work.
    any ideas on how to fix this?
     
  2. Offline

    acetech09

    Are you changing the server-ip in the config? There's your problem. Leave it blank and it will default to your local computer.
     
  3. Offline

    MEC666

    i use multicraft control panel.

    i'm getting this error with minecraft.jar or craftbukkit.jar
    it doesnt matter if i set an ip/port or not. same error everytime. it makes no sense.
    i run an irc server on the same dedicated server. so i know the ports are useable.
     
  4. Offline

    flamedaces

    did you remember to port foward?
     
  5. Offline

    MEC666

    you dont port forward on a linux system.

    and i found the reason why it wasnt working
    we had Java 1.5 and Java 1.6 installed. and it was using 1.5 instead of 1.6..uninstall 1.5 and boom it works..

    frak java
     
  6. Offline

    Snipes01

    Wait what? Maybe this is just me being silly, but port forwarding has more to do with your router and systems firewall not with the OS (well you know what I mean).
     
Thread Status:
Not open for further replies.

Share This Page