Minecraft Java Server in Docker Container - "connection refused: getsockopt"

gonz05

Benutzer
Mitglied seit
16. Apr 2023
Beiträge
6
Punkte für Reaktionen
5
Punkte
53
Hallo allerseits

Ich habe gemäss dieser Anleitung einen Minecraft Java Server auf meiner DS220+ installiert.

Wenn ich nun versuche mich gemäss Video bei ca. 8:00 auf den Server zu verbinden, bekomme ich die Fehlermeldung im Titel. Ich habe verschiedene Rechner getestet und auch geschaut, dass der gewünschte Port in der Firewall freigegeben ist.

Soeben habe ich noch zum Test in der Eingabeaufforderung geschaut, ob ich per telnet den Port erreiche mittels:
telnet [IP ADRESSE] [PORT]

Resultat:
"Es konnte keine Verbindung mit dem Host hergestellt werden, auf Port...."

Woran könnte das liegen?
 

gonz05

Benutzer
Mitglied seit
16. Apr 2023
Beiträge
6
Punkte für Reaktionen
5
Punkte
53
Hallo zusammen

Ich versuche hier gerne nochmals Hilfe zu bekommen. Ich weiss einfach nicht, wie ich das Problem lösen kann.

Die Situation ist immer noch gleich wie oben beschrieben. Im Containermanager sehe ich, dass der Container online ist. Wenn ich in die Einstellungen des Containers gehe, sehe ich dort unter Lokaler Port 25565 TCP. Das ist der Port, den ich erfolglos versucht habe über Telnet zu erreichen. Andere Ports (z.B. der Port, wo der Webserver drauf läuft) reagieren hingegen.

Ich wäre euch wirklich äusserst dankbar für Hilfe. Mein Sohn würde Freudensprünge machen, wenn ich es schaffe unseren eigenen Minecraft Server zum Laufen zu bringen.
 

Ruddi

Benutzer
Mitglied seit
13. Dez 2011
Beiträge
40
Punkte für Reaktionen
13
Punkte
14
Gib mal unter - Container Manger - Container - minecraft - Details - das Ergebnis per Screenshot hier rein.
Und schaut das Protokoll auch so änlich aus?
Code:
2024/11/27 16:59:28    stdout    [15:59:28] [Server thread/INFO]: Server empty for 60 seconds, pausing
2024/11/27 16:58:28    stdout    [15:58:28] [Server thread/INFO]: RCON running on 0.0.0.0:25575
2024/11/27 16:58:28    stdout    [15:58:28] [Server thread/INFO]: Thread RCON Listener started
2024/11/27 16:58:28    stdout    [15:58:28] [Server thread/INFO]: Starting remote control listener
2024/11/27 16:58:28    stdout    [15:58:28] [Server thread/INFO]: Done (6.468s)! For help, type "help"
2024/11/27 16:58:28    stdout    [15:58:28] [Server thread/INFO]: Time elapsed: 5717 ms
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 95%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:28    stdout    [15:58:28] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/27 16:58:23    stdout    [15:58:23] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Preparing level "world"
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Using epoll channel type
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Starting Minecraft server on *:25565
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Generating keypair
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Default game type: SURVIVAL
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Loading properties
2024/11/27 16:58:22    stdout    [15:58:22] [Server thread/INFO]: Starting minecraft server version 1.21.3
2024/11/27 16:58:21    stdout    [15:58:21] [ServerMain/INFO]: Loaded 1448 advancements
2024/11/27 16:58:21    stdout    [15:58:21] [ServerMain/INFO]: Loaded 1337 recipes
2024/11/27 16:58:17    stdout    [15:58:17] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
2024/11/27 16:57:44    stdout    Starting net.minecraft.server.Main
2024/11/27 16:57:43    stdout    [init] Starting the Minecraft server..
 

gonz05

Benutzer
Mitglied seit
16. Apr 2023
Beiträge
6
Punkte für Reaktionen
5
Punkte
53
Danke @Ruddi, dass du mir zu helfen versuchst!

Hier das Protokoll:
datestreamcontent
2024/11/29 01:55:50stdout[00:55:50] [Server thread/INFO]: Server empty for 60 seconds, pausing
2024/11/29 01:54:50stdout[00:54:50] [Server thread/INFO]: RCON running on 0.0.0.0:25575
2024/11/29 01:54:50stdout[00:54:50] [Server thread/INFO]: Thread RCON Listener started
2024/11/29 01:54:50stdout[00:54:50] [Server thread/INFO]: Starting remote control listener
2024/11/29 01:54:50stdout[00:54:50] [Server thread/INFO]: Done (40.098s)! For help, type "help"
2024/11/29 01:54:50stdout[00:54:50] [Server thread/INFO]: Time elapsed: 39027 ms
2024/11/29 01:54:50stdout[00:54:50] [Worker-Main-1/INFO]: Preparing spawn area: 55%
2024/11/29 01:54:50stdout[00:54:50] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:49stdout[00:54:49] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:49stdout[00:54:49] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:48stdout[00:54:48] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:48stdout[00:54:48] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:47stdout[00:54:47] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:47stdout[00:54:47] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:46stdout[00:54:46] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:46stdout[00:54:46] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:45stdout[00:54:45] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:45stdout[00:54:45] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:44stdout[00:54:44] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:44stdout[00:54:44] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:43stdout[00:54:43] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:43stdout[00:54:43] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:42stdout[00:54:42] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:42stdout[00:54:42] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:42stdout[00:54:42] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:41stdout[00:54:41] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:40stdout[00:54:40] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:40stdout[00:54:40] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:39stdout[00:54:39] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:39stdout[00:54:39] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:39stdout[00:54:39] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:38stdout[00:54:38] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:38stdout[00:54:38] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:37stdout[00:54:37] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:36stdout[00:54:36] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:36stdout[00:54:36] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:36stdout[00:54:36] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:36stdout[00:54:36] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:34stdout[00:54:34] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:34stdout[00:54:34] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:33stdout[00:54:33] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:33stdout[00:54:33] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:33stdout[00:54:33] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:32stdout[00:54:32] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:31stdout[00:54:31] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:31stdout[00:54:31] [Worker-Main-1/INFO]: Preparing spawn area: 51%
2024/11/29 01:54:30stdout[00:54:30] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:30stdout[00:54:30] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:30stdout[00:54:30] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:29stdout[00:54:29] [Worker-Main-1/INFO]: Preparing spawn area: 0%
2024/11/29 01:54:11stdout[00:54:11] [Server thread/INFO]: Preparing start region for dimension minecraft:eek:verworld
2024/11/29 01:54:10stdout[00:54:10] [Server thread/INFO]: Preparing level "world"
2024/11/29 01:54:10stdout[00:54:10] [Server thread/INFO]: Using epoll channel type
2024/11/29 01:54:10stdout[00:54:10] [Server thread/INFO]: Starting Minecraft server on *:25565
2024/11/29 01:54:10stdout[00:54:09] [Server thread/INFO]: Generating keypair
2024/11/29 01:54:10stdout[00:54:09] [Server thread/INFO]: Default game type: SURVIVAL
2024/11/29 01:54:10stdout[00:54:09] [Server thread/INFO]: Loading properties
2024/11/29 01:54:09stdout[00:54:09] [Server thread/INFO]: Starting minecraft server version 1.21.3
2024/11/29 01:54:08stdout[00:54:08] [ServerMain/INFO]: Loaded 1448 advancements
2024/11/29 01:54:08stdout[00:54:08] [ServerMain/INFO]: Loaded 1337 recipes
2024/11/29 01:53:57stdout[00:53:57] [ServerMain/INFO]: Environment: Environment[sessionHost=[URL]https://sessionserver.mojang.com[/URL], servicesHost=https://api.minecraftservices.com, name=PROD]
2024/11/29 01:53:35stdoutStarting net.minecraft.server.Main
2024/11/29 01:53:31stdout[init] Starting the Minecraft server...

Und hier der Screenshot:1.png
2.png

Vielen Dank!
 


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat