MinecraftServerControl / mscs

Powerful command-line control for UNIX and Linux powered Minecraft servers

Home Page:https://minecraftservercontrol.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot connect to my local server

fds2610 opened this issue · comments

Hi there,
am using newly installed mscs server script and cannot connect to the server using minetest 5.6.1.
Though connecting to other servers works nicely.

My setup:

  • Proxmox server
  • container with debian fresh install
  • openjdk version "17.0.9" 2023-10-17
  • OpenJDK Runtime Environment (build 17.0.9+9-Debian-1deb11u1)
  • OpenJDK 64-Bit Server VM (build 17.0.9+9-Debian-1deb11u1, mixed mode, sharing)

world's logfile:
[06:52:01] [ServerMain/INFO]: Environment: Environment[accountsHost=https://api.mojang.com, sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[06:52:10] [ServerMain/INFO]: Loaded 7 recipes
[06:52:11] [ServerMain/INFO]: Loaded 1271 advancements
[06:52:13] [Server thread/INFO]: Starting minecraft server version 1.20.2
[06:52:13] [Server thread/INFO]: Loading properties
[06:52:13] [Server thread/INFO]: Default game type: SURVIVAL
[06:52:13] [Server thread/INFO]: Generating keypair
[06:52:13] [Server thread/INFO]: Starting Minecraft server on 192.168.2.19:25565
[06:52:14] [Server thread/INFO]: Using epoll channel type
[06:52:14] [Server thread/INFO]: Preparing level "my-local"
[06:52:31] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[06:52:48] [Worker-Main-1/INFO]: Preparing spawn area: 0%
...
[06:52:54] [Worker-Main-1/INFO]: Preparing spawn area: 1%
[06:52:55] [Server thread/INFO]: Time elapsed: 24775 ms
[06:52:55] [Server thread/INFO]: Done (41.340s)! For help, type "help"
[06:52:55] [Server thread/INFO]: Starting GS4 status listener
[06:52:55] [Server thread/INFO]: Thread Query Listener started
[06:52:55] [Query Listener #1/INFO]: Query running on 192.168.2.19:25565

and that's it.

I already followed another issue (#317) removing & purging all java* packages and reinstalling java17 as mentioned in the wiki.

When connecting with my minetest client there is always a timeout error, and no entry in the log files as if the port was not accessible, but i have no filters set up:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Any hints, where to look at ? (BTW: SSH works fine.)

lsof -i -P gives:
java 6766 minecraft 53u IPv6 481076092 0t0 TCP mcs-2-19.net.local:25565 (LISTEN)
among others...

ok, seems to be my failure: i am using minetest as a client which is not compatible to minecraft-server....

I'm glad you figured it out. I wasn't aware of minetest, so I'm not sure I could have helped you.