← Blog

How to create a Minecraft server yourself? The complete guide

Par Benjamin Dayan · PDG

· Mis à jour le December 5, 2026 · Lecture 7 min

Contents

Creating a Minecraft server can be done in two ways: self-hosting on your own machine (free but technical and limited) or via a turnkey Minecraft host (paid, but ready in seconds). Here are both, step by step.

Method 1: self-host on your PC

1. Install Java

The Minecraft Java Edition server runs on Java. Install the latest version of Java (JRE 21+ for recent versions of the game).

2. Download the server.jar

Get the official server.jar from the Minecraft website, place it in a dedicated folder, then launch it once: it generates the files, including eula.txt (set it to true) and server.properties. Mojang's own procedure is detailed in the Minecraft help centre.

3. Set the RAM and launch

Launch the server with a suitable memory parameter, for example java -Xmx4G -Xms4G -jar server.jar nogui. The server.properties configuration is detailed in our guide How to configure a Vanilla Minecraft server.

4. Open the port (the most annoying part)

For your friends to connect from outside, you need to open port 25565 on your router (port forwarding / NAT) and share your public IP. This is where most beginners get stuck: dynamic IP, firewall, CGNAT with certain ISPs…

The limits of self-hosting

  • Your PC has to stay on at all times for the server to be reachable.
  • It shares power with your other uses → lag when you play on the same machine.
  • No Anti-DDoS protection: exposing your personal IP is risky.
  • Backups, updates, security: it's all on you.

Method 2: use a managed server (the simplest)

A host removes the entire technical side: no port to open, no IP to expose, a server online 24/7. At Fly-Serv, creation is instant: you choose your plan, the server is delivered in seconds with an address ready to share, and the FlyPanel panel lets you start, install mods and manage files with one click.

Simple rule: to test with friends over a weekend, self-hosting is enough. For a permanent, smooth server, a host is more economical in time… and often in money.

Conclusion

If you're starting out or aiming for a stable community, create your Minecraft server with Fly-Serv from €4.99/month. Wondering what it really costs by RAM? See How much does a Minecraft server cost?

Frequently asked questions

Are Java and Bedrock compatible?

Yes. A Fly-Serv Minecraft server can run Java Edition, Bedrock Edition, or host both at once through GeyserMC, installable from FlyPanel. Cross-play then brings PC, console and mobile players onto the same world. A few Java plugins remain incompatible with Bedrock clients, which is worth checking plugin by plugin.

How much does a Minecraft server cost?

At Fly-Serv the 2 GB RAM plan starts at €2.99/month, and the 8 GB plan, sized for a server running plugins, is €9.99/month. Self-hosting, the server software is free: what you pay for is the machine, running 24 hours a day.

How long does the install take?

With a host, creation is automatic and generally takes under a minute between payment and receiving your access details. Self-hosting means carrying out the 4 steps above, of which port forwarding is by far the most painful.

Which port has to be open?

Minecraft Java Edition listens on port 25565, which you forward on your router when self-hosting. With a host there is no port to open: the address you are given can be shared straight away.

How much RAM do you need?

4 GB suits a vanilla server of 2 to 10 players, and 8 GB a Paper or Spigot server with plugins for 10 to 30 players. For a light modpack, a SkyBlock or a Faction server of 20 to 50 players, plan for 16 GB.

Which version of Java is required?

Recent versions of the game need Java 21 at minimum. Then start the server with the memory pinned, for example java -Xmx4G -Xms4G -jar server.jar nogui.

Read next