-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Describe the problem
When running a minecraft curseforge server on 1.21 and trying to join, I get the following error:
Connection refused: getsockopt;
Container definition
docker run -d -it -p 25565:25565 -e EULA=TRUE -e TYPE=FORGE -e VERSION=1.21 itzg/minecraft-server
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-x--- 2 1000 1000 4096 Jun 15 19:17 /data'
[init] Resolving type given FORGE
[mc-image-helper] 22:04:52.603 INFO : Downloading Forge installer 51.0.17 for Minecraft 1.21
[mc-image-helper] 22:04:53.070 INFO : Running Forge 51.0.17 installer for Minecraft 1.21. This might take a while...
[init] Creating server properties in /data/server.properties
[init] Disabling whitelist functionality
[mc-image-helper] 22:05:25.471 INFO : Created/updated 4 properties in /data/server.properties
[init] Setting initial memory to 1G and max to 1G
[init] Using Forge supplied run.sh script...
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release
[22:05:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forge_server]
[22:05:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: JVM identified as Eclipse Adoptium OpenJDK 64-Bit Server VM 21.0.3+9-LTS
[22:05:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.2.1 starting: java version 21.0.3 by Eclipse Adoptium; OS Linux arch aarch64 version 6.6.31-linuxkit
[22:05:28] [main/WARN] [ne.mi.fm.lo.FMLConfig/CORE]: Configuration file /data/config/fml.toml is not correct. Correcting
[22:05:28] [main/INFO] [ne.mi.fm.lo.FMLConfig/CORE]: Incorrect key [earlyWindowSkipGLVersions] was corrected from null to []
[22:05:28] [main/INFO] [ne.mi.fm.lo.FMLConfig/CORE]: Incorrect key [earlyWindowLogHelpMessage] was corrected from null to true
[22:05:28] [main/INFO] [ne.mi.fm.lo.FMLConfig/CORE]: Incorrect key [earlyWindowSquir] was corrected from null to false
[22:05:28] [main/INFO] [ne.mi.fm.lo.FMLConfig/CORE]: Incorrect key [earlyWindowShowCPU] was corrected from null to false
[22:05:28] [main/INFO] [ne.mi.fm.lo.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forge_server
[22:05:28] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=jar:file:///data/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar!/ Service=ModLauncher Env=SERVER
[22:05:28] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[22:05:29] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forge_server' with arguments []
[22:05:29] [main/WARN] [os.ut.FileUtil/]: Configuration conflict: there is more than one oshi.properties file on the classpath: [jar:file:///data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.properties, jar:file:/data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.properties, jar:file:///data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.properties, jar:file:/data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.properties]
[22:05:29] [main/WARN] [os.ut.FileUtil/]: Configuration conflict: there is more than one oshi.architecture.properties file on the classpath: [jar:file:///data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.architecture.properties, jar:file:/data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.architecture.properties, jar:file:///data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.architecture.properties, jar:file:/data/libraries/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar!/oshi.architecture.properties]
[22:05:31] [modloading-worker-0/INFO] [ne.mi.co.ForgeMod/FORGEMOD]: Forge mod loading, version 51.0.17, for MC 1.21 with MCP 20240613.102039
[22:05:31] [modloading-worker-0/INFO] [ne.mi.co.MinecraftForge/FORGE]: MinecraftForge v51.0.17 Initialized
[22:05:31] [modloading-worker-0/INFO] [ne.mi.co.ForgeMod/FORGEMOD]: Opening jdk.naming.dns/com.sun.jndi.dns to java.naming
[22:05:31] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
[22:05:31] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: BETA Current: 51.0.17 Target: 51.0.17
[22:05:32] [main/INFO] [mojang/YggdrasilAuthenticationService]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[22:05:32] [main/INFO] [minecraft/Main]: No existing world data, creating new world
[22:05:32] [main/INFO] [minecraft/RecipeManager]: Loaded 1290 recipes
[22:05:32] [main/INFO] [minecraft/AdvancementTree]: Loaded 1399 advancements
[22:05:32] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.21
[22:05:32] [Server thread/INFO] [minecraft/DedicatedServer]: Loading properties
[22:05:32] [Server thread/INFO] [minecraft/DedicatedServer]: Default game type: SURVIVAL
[22:05:32] [Server thread/INFO] [minecraft/MinecraftServer]: Generating keypair
[22:05:32] [Server thread/INFO] [minecraft/DedicatedServer]: Starting Minecraft server on *:25565
[22:05:33] [Server thread/INFO] [minecraft/ServerConnectionListener]: Using default channel type
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Configuration file ./world/serverconfig/forge-server.toml is not correct. Correcting
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server was corrected from null to its default, SynchronizedConfig{DataHolder:{}}.
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringBlockEntities was corrected from null to its default, false.
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringEntities was corrected from null to its default, false.
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.fullBoundingBoxLadders was corrected from null to its default, false.
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.permissionHandler was corrected from null to its default, forge:default_handler.
[22:05:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.advertiseDedicatedServerToLan was corrected from null to its default, true.
[22:05:33] [Server thread/INFO] [minecraft/DedicatedServer]: Preparing level "world"
[22:05:35] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for dimension minecraft:overworld
[22:05:35] [Worker-Main-1/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 2%
[22:05:36] [Worker-Main-3/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 2%
[22:05:36] [Worker-Main-2/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 18%
[22:05:37] [Netty Server IO #1/INFO] [ne.mi.se.ServerLifecycleHooks/SERVERHOOKS]: [/[::1]:46374] Disconnecting VANILLA connection attempt: Server is still starting! Please wait before reconnecting.
[22:05:37] [Worker-Main-4/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 51%
[22:05:37] [Server thread/INFO] [minecraft/LoggerChunkProgressListener]: Time elapsed: 1842 ms
[22:05:37] [Server thread/INFO] [minecraft/DedicatedServer]: Done (4.368s)! For help, type "help"
[22:05:37] [Server thread/INFO] [minecraft/DedicatedServer]: Starting remote control listener
[22:05:37] [Server thread/INFO] [minecraft/GenericThread]: Thread RCON Listener started
[22:05:37] [Server thread/INFO] [minecraft/RconThread]: RCON running on 0.0.0.0:25575
[22:05:37] [LanServerPinger #1/WARN] [minecraft/LanServerPinger]: LanServerPinger: Network is unreachable
[22:05:37] [Server thread/INFO] [ne.mi.se.pe.PermissionAPI/]: Successfully initialized permission handler forge:default_handler