Jump to content
  • 0

Server will not bind to a port it has bound to before


Question

Posted

Title: Server will not bind to a port it has bound to before

Version: 3.1.2

OS: Windows 7 Home Premium

Java Version: Jre7u7

Description of Problem:

I have had this server running off and on for the past few weeks to service my friends and I. Today, when routinely starting the server, it decided not to bind to the port it has so many times before. I then switched it to a backup port I had set up and had the same error of not being able to bind to the port. I shortened the log to only include the last area that was normal up to, and including the irregularity. I just retried the server so there are no mistakes and I copied the last chunk of info.

Error Messages:

Error Log:


2012-09-17 18:33:18 [FINE] Mod pre-initialization complete

2012-09-17 18:33:18 [FINE] Verifying mod dependencies are satisfied

2012-09-17 18:33:18 [FINE] All dependencies are satisfied

2012-09-17 18:33:18 [FINE] Sorting mods into an ordered list

2012-09-17 18:33:18 [FINE] Sorted mod list:

2012-09-17 18:33:18 [FINE] mod_CodeChickenCore: CodeChickenCore-Bukkit 0.5.3r3.zip (before:*)

2012-09-17 18:33:18 [FINE] mod_MinecraftForge: Tekkit.jar ()

2012-09-17 18:33:18 [FINE] mod_BuildCraftTransport: buildcraft-2.2.14-mcpc1.2.5-r8.zip ()

2012-09-17 18:33:18 [FINE] mod_AdditionalPipes: AdditionalPipes-2.1.3-MCPC1.2.5-r3.zip (after:mod_BuildCraftTransport)

2012-09-17 18:33:18 [FINE] mod_IC2: industrialcraft2-1.97-mcpc1.2.5-r7.zip ()

2012-09-17 18:33:18 [FINE] mod_IC2AdvancedMachines: advancedMachines_4.0_bukkit.zip (after:mod_IC2)

2012-09-17 18:33:18 [FINE] Balkon's WeaponMod: BalkonsWeaponMod1.2.5.jar ()

2012-09-17 18:33:18 [FINE] mod_BuildCraftFactory: buildcraft-2.2.14-mcpc1.2.5-r8.zip ()

2012-09-17 18:33:18 [FINE] mod_BuildCraftEnergy: buildcraft-2.2.14-mcpc1.2.5-r8.zip ()

2012-09-17 18:33:18 [FINE] mod_BuildCraftCore: buildcraft-2.2.14-mcpc1.2.5-r8.zip ()

2012-09-17 18:33:18 [FINE] mod_BuildCraftBuilders: buildcraft-2.2.14-mcpc1.2.5-r8.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerLogic: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerLighting: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerWiring: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerCore: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerMachine: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerWorld: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_ComputerCraft: server (after:mod_RedPowerCore;after:mod_RedPowerArray;after:mod_RedPowerLighting;after:mod_RedPowerLogic;after:mod_RedPowerMachine;after:mod_RedPowerWiring;after:mod_RedPowerWorld)

2012-09-17 18:33:18 [FINE] mod_ccSensors: server (after:mod_ComputerCraft;after:mod_BuildCraftFactory;after:mod_IC2;after:mod_RedPowerMachine)

2012-09-17 18:33:18 [FINE] mod_CCTurtle: server (after:mod_ComputerCraft;after:mod_RedPowerCore;after:mod_RedPowerArray;after:mod_RedPowerLighting;after:mod_RedPowerLogic;after:mod_RedPowerMachine;after:mod_RedPowerWiring;after:mod_RedPowerWorld)

2012-09-17 18:33:18 [FINE] mod_EE: EE2ServerV1.4.6.5-bukkit-mcpc-1.2.5-r5.zip ()

2012-09-17 18:33:18 [FINE] mod_EnderStorage: EnderStorage-Bukkit 1.1.3r2.zip ()

2012-09-17 18:33:18 [FINE] mod_ImmibisCore: immibis-core_49.1.1_for_1.2.5-bukkit.jar ()

2012-09-17 18:33:18 [FINE] mod_ModularForceFieldSystem: mffs_rev7_for_1.2.5-bukkit.zip (after:mod_IC2;after:mod_ImmibisCore)

2012-09-17 18:33:18 [FINE] mod_IC2_ChargingBench: mod_chargingbench-server-1.95b-mcpc1.2.5-r2.zip ()

2012-09-17 18:33:18 [FINE] mod_CompactSolars: mod_compactsolars-server-2.3.2.10-bukkit-mcpc-1.2.5.zip (after:mod_IC2)

2012-09-17 18:33:18 [FINE] mod_IC2NuclearControl: mod_IC2NuclearControl-1.1.10b-mcpc-r1.zip (after:mod_IC2)

2012-09-17 18:33:18 [FINE] mod_IronChest: mod_ironchests-server-3.8.0.40-bukkit-mcpc-1.2.5.zip ()

2012-09-17 18:33:18 [FINE] mod_NetherOres: mod_NetherOres.jar (after:mod_IC2;after:mod_RedPowerCore)

2012-09-17 18:33:18 [FINE] mod_NotEnoughItems: NotEnoughItems-Bukkit 1.2.2.3r3.zip ()

2012-09-17 18:33:18 [FINE] mod_PowerConverters: PowerConverters-1.3.4-mcpc78-r1.zip (after:mod_BuildCraftCore;after:mod_BuildCraftEnergy;after:mod_IC2)

2012-09-17 18:33:18 [FINE] mod_Railcraft: Railcraft-5.3.3-MCPC-1.2.5-r8.zip ()

2012-09-17 18:33:18 [FINE] mod_RedPowerControl: redpower-all-2.0p5b2-mcpc1.2.5-r15.zip ()

2012-09-17 18:33:18 [FINE] mod_TubeStuff: tubestuff_49.1.2_for_1.2.5-bukkit.jar (after:mod_ImmibisCore)

2012-09-17 18:33:18 [FINE] mod_WirelessRedstoneCore: WR-CBE Core-Bukkit 1.2.2.3r2.zip.zip ()

2012-09-17 18:33:18 [FINE] mod_WirelessRedstoneAddons: WR-CBE Addons-Bukkit 1.2.2.3.zip (after:mod_WirelessRedstoneCore)

2012-09-17 18:33:18 [FINE] mod_WirelessRedstoneRedPower: WR-CBE RedPower-Bukkit 1.2.2.1.zip (after:mod_WirelessRedstoneCore)

2012-09-17 18:33:18 [FINE] mod_ImmiChunkLoaders: zdimensional-anchor_rev3.2_for_1.2.5-bukkit.jar (after:mod_ImmibisCore;)

2012-09-17 18:33:18 [iNFO] Loading properties

2012-09-17 18:33:18 [iNFO] Starting Minecraft server on 192.168.1.6:25565

2012-09-17 18:33:18 [WARNING] **** FAILED TO BIND TO PORT!

2012-09-17 18:33:18 [WARNING] The exception was: java.net.BindException: Cannot assign requested address: JVM_Bind

2012-09-17 18:33:18 [WARNING] Perhaps a server is already running on that port?

2012-09-17 18:33:24 [sEVERE] java.lang.NullPointerException

2012-09-17 18:33:24 [sEVERE] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:620)

2012-09-17 18:33:24 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:473)

2012-09-17 18:33:24 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-09-17 18:33:24 [sEVERE] Unexpected exception

java.lang.NullPointerException

at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:620)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:473)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-09-17 18:33:26 [iNFO] Stopping server

2012-09-17 18:33:26 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2012-09-17 18:33:26 [sEVERE] at java.util.ArrayList.rangeCheck(Unknown Source)

2012-09-17 18:33:26 [sEVERE] at java.util.ArrayList.get(Unknown Source)

2012-09-17 18:33:26 [sEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:424)

2012-09-17 18:33:26 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)

2012-09-17 18:33:26 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-09-17 18:33:26 [iNFO] Stopping server

2012-09-17 18:33:26 [sEVERE] Exception in thread "Thread-3"

2012-09-17 18:33:26 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2012-09-17 18:33:26 [sEVERE] at java.util.ArrayList.rangeCheck(Unknown Source)

2012-09-17 18:33:26 [sEVERE] at java.util.ArrayList.get(Unknown Source)

2012-09-17 18:33:26 [sEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:424)

2012-09-17 18:33:26 [sEVERE] at org.bukkit.craftbukkit.util.ServerShutdownThread.run(ServerShutdownThread.java:14)

2 answers to this question

Recommended Posts

  • 0
Posted

You either already have a server running (check task manager for java.exe and kill the process if it's there), or you've entered an server ip in server.properties that isn't actually the IP address of the computer you're trying to start this on

  • 0
Posted

That's what I don't get, I am using the same computer I always have to run the server. i just checked the server.properties file and my server IP has not changed since i created it.

--20 minutes later--

I just logged into my Verizon IP for my router and it looks like the last 2 digits of my IP address for my computer has changed from .1.6 to .1.4. the new .1.6 is titled "new host-5". I'll have to keep watch for this again and thank you Wendo for your idea based on the IP.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...