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.

  • Are you able to connect and play before it times out or does it never connect at all?
    – user29019
    Mar 28, 2020 at 12:52
  • It doesn't connect at all.
    – vyPal
    Mar 28, 2020 at 12:56
  • Could you expand the question to include the output of running the minecraft jar? If you are getting the usually generating world gubbins its probably running ok. Are you able to ping your Pi from your PC?
    – user29019
    Mar 28, 2020 at 13:03
  • The server starts as it is supposed to. I was able to ping the Pi from the PC. The server even shows the player connecting. But then it times out. I have the Pi right next to the router.
    – vyPal
    Mar 28, 2020 at 13:06
  • 1
    I got a new raspberry pi 4, and copied the files from the pi 2, and it works. But I would still like to know, what is wrong.
    – vyPal
    Apr 25, 2020 at 6:27

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.