**** FAILED TO BIND TO PORT!
AnimeFemboys opened this issue ยท 2 comments
Pack Version:
0529c6a
Description:
Im trying to run a server but got this error. Im not sure exactly why it is failing.
I updated from d0117b8 to 0529c6a
Thank you.
[18:30:07] [Server thread/INFO]: Using default channel type
[18:30:07] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[18:30:07] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[18:30:07] [Server thread/WARN]: Perhaps a server is already running on that port?
[18:30:07] [Server thread/INFO]: Stopping server
[18:30:07] [Server thread/INFO]: Saving worlds
[18:30:07] [Server thread/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Advanced Rocketry (advancedrocketry)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: Caused by: java.lang.NullPointerException
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at zmaster587.advancedRocketry.cable.NetworkRegistry.clearNetworks(NetworkRegistry.java:16)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at zmaster587.advancedRocketry.AdvancedRocketry.serverStopped(AdvancedRocketry.java:1220)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at java.lang.reflect.Method.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at java.lang.reflect.Method.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.EventBus.post(EventBus.java:217)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at java.lang.reflect.Method.invoke(Unknown Source)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at com.google.common.eventbus.EventBus.post(EventBus.java:217)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraftforge.fml.common.Loader.serverStopped(Loader.java:852)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStopped(FMLCommonHandler.java:508)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:587)
[18:30:07] [Server thread/INFO]: [net.minecraftforge.fml.common.EnhancedRuntimeException:printStackTrace:92]: at java.lang.Thread.run(Unknown Source)
[18:30:16] [Forge Version Check/INFO]: [thermalcultivation] Starting version check at https://raw.github.com/cofh/version/master/thermalcultivation_update.json
[18:30:16] [Forge Version Check/INFO]: [thermalcultivation] Found status: UP_TO_DATE Target: null
[18:30:16] [Forge Version Check/INFO]: [cofhcore] Starting version check at https://raw.github.com/cofh/version/master/cofhcore_update.json
[18:30:16] [Forge Version Check/INFO]: [cofhcore] Found status: UP_TO_DATE Target: null
[18:30:16] [Forge Version Check/INFO]: [cofhworld] Starting version check at https://raw.github.com/cofh/version/master/cofhworld_update.json
[18:30:16] [Forge Version Check/INFO]: [cofhworld] Found status: UP_TO_DATE Target: null
[18:30:16] [Forge Version Check/INFO]: [codechickenlib] Starting version check at http://chickenbones.net/Files/notification/version.php?query=forge&version=1.12&file=CodeChickenLib
[18:30:16] [Forge Version Check/INFO]: [codechickenlib] Found status: BETA Target: null
[18:30:16] [Forge Version Check/INFO]: [simplyjetpacks] Starting version check at https://raw.githubusercontent.com/Tomson124/SimplyJetpacks-2/1.12/update/update.json
[18:30:17] [Forge Version Check/INFO]: [simplyjetpacks] Found status: AHEAD Target: null
[18:30:17] [Forge Version Check/INFO]: [thermalinnovation] Starting version check at https://raw.github.com/cofh/version/master/thermalinnovation_update.json
[18:30:17] [Forge Version Check/INFO]: [thermalinnovation] Found status: UP_TO_DATE Target: null
[18:30:17] [Forge Version Check/INFO]: [buildinggadgets] Starting version check at https://github.com/Direwolf20-MC/BuildingGadgets/raw/master/update.json
[18:30:17] [Forge Version Check/INFO]: [buildinggadgets] Found status: AHEAD Target: null
[18:30:17] [Forge Version Check/INFO]: [thermalexpansion] Starting version check at https://raw.github.com/cofh/version/master/thermalexpansion_update.json
[18:30:17] [Forge Version Check/INFO]: [thermalexpansion] Found status: UP_TO_DATE Target: null
[18:30:17] [Forge Version Check/INFO]: [fastleafdecay] Starting version check at http://www.olafkeijsers.net/fastleafdecay-update.json
[18:30:17] [Forge Version Check/INFO]: [fastleafdecay] Found status: UP_TO_DATE Target: null
[18:30:17] [Forge Version Check/INFO]: [simplefluidtanks] Starting version check at https://raw.githubusercontent.com/Zarathul/mcmodversions/master/simplefluidtanks.json
[18:30:17] [Forge Version Check/INFO]: [simplefluidtanks] Found status: OUTDATED Target: 1.12.2-1.7.1.3
[18:30:17] [Forge Version Check/INFO]: [vanillafix] Starting version check at https://gist.githubusercontent.com/Runemoro/28e8cf4c24a5f17f508a5d34f66d229f/raw/vanillafix_update.json
[18:30:17] [Forge Version Check/INFO]: [vanillafix] Found status: AHEAD Target: null
[18:30:17] [Server Shutdown Thread/INFO]: Stopping server
[18:30:17] [Server Shutdown Thread/INFO]: Saving worlds
**crashed/stopped here**
**Crash Log:**
https://ghostbin.com/7E79J
(Pastebin said their "smart filters" detected bad stuff so I uploaded to ghostbin)
Thanks in advance.
As the log indicates at the top, Minecraft was unable to bind to the port it was told to use (this is configured in server.properties
, with the default for Minecraft being 25565
). Failure to bind to a port is an error that occurs when the port in question is already bound by some other process.
You may have a Minecraft server already running on that port, or the port might be stuck considered in use even after the original process using it has closed (this happens occasionally on Windows, and the way to force it to free up is to reboot).