I want to run a Minecraft server from a Raspberry Pi 2. I already tried the 1.8.9 and the 1.15.2 versions. Both of them started, as expected. On my computer I tried to connect, but after a while, it said, that the connection has timed out. I use a Wi-Fi dongle on the Pi. I am running the newest version of raspbian buster. Does the Pi have a bit to little RAM? Thank's for any suggestions.
It is possible that you may be running out of ram. You may want to set the preset ram to a slightly higher number, allowing the server to utilize the ram more efficiently. I have a video dedicated on how to set up a Minecraft Server (only on the Pi 4): https://youtu.be/SBX-90NcAJo