I've set up a minecraft server on my ubuntu VPS using https://www.linuxnorth.org/minecraft/modded_linux.html as my guide. The forge version I used is 1.12.2-14.23.5.2854. When I run it without any mode, everything works fine. When I add industrialcraft-2-2.8.221-ex112.jar (from http://jenkins.ic2.player.to/job/IC2_112/221/) to mods folder, I get "Connection refused" error while trying to connect to the server in Minecraft itself.
Here's the console output:
Code
root@localhost:/opt/minecraft# java -Xms256M -Xmx512M -jar forge-1.12.2-14.23.5.2854.jar nogui
[21:07:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:07:38] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:07:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:07:38] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2854 for Minecraft 1.12.2 loading
[21:07:38] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_275, running on Linux:amd64:4.15.0-134-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre
[21:07:38] [main/INFO] [FML]: Searching /opt/minecraft/./mods for mods
[21:07:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:07:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:07:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:41] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[21:07:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:07:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[21:07:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:07:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[21:07:43] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[21:07:53] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.12.2
[21:07:53] [Server thread/WARN] [minecraft/DedicatedServer]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[21:07:53] [Server thread/INFO] [FML]: MinecraftForge v14.23.5.2854 Initialized
[21:07:53] [Server thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[21:07:53] [Server thread/INFO] [FML]: Invalid recipe found with multiple oredict ingredients in the same ingredient...
[21:07:54] [Server thread/INFO] [FML]: Replaced 1227 ore ingredients
[21:07:57] [Server thread/INFO] [FML]: Searching /opt/minecraft/./mods for mods
[21:08:00] [Server thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[21:08:00] [Server thread/WARN] [FML]: Missing English translation for FML: assets/fml/lang/en_us.lang
[21:08:00] [Server thread/WARN] [FML]: Missing English translation for ic2: assets/ic2/lang/en_us.lang
[21:08:10] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, ic2] at CLIENT
[21:08:10] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, ic2] at SERVER
[21:08:14] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[21:08:14] [Server thread/INFO] [FML]: Found 1168 ObjectHolder annotations
[21:08:14] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[21:08:14] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[21:08:14] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[21:08:14] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[21:08:16] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
Display More