
Setting up a Minecraft server lets you control the world settings, install mods or plugins, and play with friends on your own schedule. This beginner guide walks you through choosing a hosting method, picking server software, and completing the initial setup.
When learning how to host a Minecraft server, your first decision is whether to use a hosting provider or run the server on your own computer.
If you choose a paid provider, you can use the RAM calculator at /tools/ram-calculator/ and the plan finder on hosting.9minecraft.net to estimate how much memory your player count, chunks, mods, or plugins require. Our comparison platform reads plans, prices, locations, and features directly from each host's website, converts prices to USD per month using ECB exchange rates, links Trustpilot scores, and does not take payment for rankings.
Before starting, confirm which edition of Minecraft your group plays and whether you want to add customizations.
If you use a shared host, the control panel manages Java automatically. If you host at home or on a VPS, you must install the correct Java version for your Minecraft release. According to the Mojang manifest, the required versions are:
You can check the Java version lookup tool on our site if you are unsure which package matches your target game version.
Whether you use a control panel or a folder on your PC, the first launch follows the same basic steps:
eula.txt file, change eula=false to eula=true, and save it. The server will not start until you complete this step.You can customize how your world behaves by editing the server.properties file or using our server.properties generator. In Minecraft 26.3, key default values include:
view-distance=10 simulation-distance=10 max-players=20 online-mode=true white-list=true spawn-protection=16 pause-when-empty-seconds=60 difficulty=easy
white-list=true is enabled by default in 26.3. This prevents uninvited players from joining. Use the console command whitelist add <username> or our whitelist generator to allow your friends in.online-mode=true so the server verifies accounts against Mojang's authentication servers.pause-when-empty-seconds=60 setting pauses world ticks after the server has been empty for 60 seconds, saving CPU usage.view-distance and simulation-distance reduces the number of loaded chunks.op <username> in the server console. Operators are stored in ops.json and have permission levels from 1 to 4. You can also place a 64x64 pixel PNG file named server-icon.png in the root folder (using our server icon maker) to display a custom logo in the multiplayer list.Once the console shows the server has finished loading, you are ready to connect.
localhost. For friends outside your home network to join, you must either configure port forwarding on your router or use a tunnel service like playit.gg, which lets you host at home without port forwarding.25565 by default. Bedrock Dedicated Server uses UDP port 19132 for IPv4 (and 19133 for IPv6).If your friends cannot reach the server, verify that it is online and reachable from outside your network using our server status checker.
No. If you use a shared Minecraft hosting provider, the setup is handled through a web control panel where you can start the server, switch versions, and edit settings without command-line skills. You only need deeper technical knowledge if you choose an unmanaged VPS, dedicated server, or advanced home network setup.
On a shared hosting provider, the server files and Java environment are installed automatically, so you can usually accept the EULA and start playing within a few minutes. Setting up a server at home takes slightly longer because you must download the right Java version, configure a startup script, and set up port forwarding or a tunnel like playit.gg.
The easiest way to keep a server online 24/7 for friends is a shared Minecraft hosting plan running Vanilla or Paper. Because the host runs the hardware in a data center, you do not need to leave your personal PC turned on, and you can enable the built-in whitelist so only your invited friends can join.
Two common causes prevent a new server from starting: you have not yet changed eula=false to eula=true inside eula.txt, or you are running the wrong Java version for your game release (for example, Minecraft 26.3 requires Java 25, while 1.20.5 requires at least Java 21).