MinecraftServerControl / mscs

Powerful command-line control for UNIX and Linux powered Minecraft servers
https://minecraftservercontrol.github.io
BSD 2-Clause "Simplified" License
479 stars 61 forks source link

cannot connect to my local server #335

Closed fds2610 closed 8 months ago

fds2610 commented 8 months ago

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:

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]: 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...

fds2610 commented 8 months ago

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

sandain commented 8 months ago

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