TransWikia.com

How do I run multiple Minecraft server instances on a single physical server?

Arqade Asked by Golo Roden on January 5, 2021

I am running a Minecraft server (using Docker) on a physical server. So far, everything’s working.

Now I would like to run a second server using a second Docker container, with a different configuration, but on the same physical server. The reason for this is that AFAIK a Minecraft server can only host one world with one configuration, and I’d like to have one server in creative mode, and another one in survival mode.

Now, I need to set up ports for those servers. Is it enough to map port 25565 to another port, and the client is then able to access it, if I provide the IP address / port combination? Or is there anything else I need to watch out for?

One Answer

Yes, that should be enough. Also make sure they're running in different folders so they don't try to overwrite each others' files. If you're using plugins with SQL databases, make sure they use different databases. Basically just keep everything separate.

If you don't want the clients to have to type in the port number, you can use a SRV record to give your server a different hostname. (e.g. creative.your-server-name.com)

Correct answer by user253751 on January 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP