You don’t need to pay anyone to run a Minecraft server. There are two real ways to do it for free: host it yourself on your own PC using Mojang’s official server software, or use a free hosting site like Aternos that runs the server on their hardware instead of yours. This guide walks through both, so you can pick whichever fits how you actually want to play.

Neither method costs a cent. They just trade off differently — self-hosting gives you full control but ties up your own computer, while a free host runs 24/7 hardware for you but puts your server on a shared queue.

Quick Comparison: Self-Host vs. Free Host

FactorSelf-Hosting on PCFree Host (e.g. Aternos)
Cost100% Free100% Free
UptimeOnline whenever your PC is onSleeps after idle; queues to start
Hardware / RAMUses your PC’s CPU & memoryShared nodes, capped RAM (2–4 GB)
Setup ProcessDownload jar + Port forwardWeb panel one-click setup
Custom ControlUnrestricted file & plugin accessLimited to supported panel plugins
Best ForPower users, direct LAN/friends playQuick setup, casual evening gaming

Method 1: Self-Host on Your Own PC (No Extra Software Required)

This is the most direct way to run a free minecraft server — you download Mojang’s official server software and run it on the computer you already own. Nothing to install beyond Java, nothing to sign up for.

What You Need First

  • A computer that remains awake: Your server only stays joinable while this computer is running and the server process is active. A laptop with the lid open works fine; it just needs to not go into sleep mode.
  • The correct Java runtime version: This is the single most common point where people get stuck. Minecraft dropped its old “1.x” version numbers in 2026 — the current release line is versioned by year (26.1, 26.2, and so on), and the current Java Edition release requires Java 25 (specifically OpenJDK 25). Older Java installs — even Java 21 — will not boot modern server jars. If you’re hosting an older version on purpose, check the Minecraft Wiki’s Java version table.
  • At least 2–4 GB of free RAM: Dedicate at least 2 GB to the server process for smooth vanilla gameplay, or 4 GB for up to 10 players.

Setting Up the Server Files

  1. Download the official server jar: Download directly from Mojang’s official server page or PaperMC — never a third-party mirror.
  2. Create a dedicated folder: Create a new folder (e.g., MinecraftServer) on your drive so world files don’t clutter your desktop.
  3. Run the initial boot: Move the jar into that folder and execute it once via terminal or double-click. It will generate eula.txt and server.properties, then shut down immediately. That is expected.
  4. Accept the EULA: Open eula.txt in a text editor and change eula=false to eula=true.
  5. Configure server properties: Open server.properties to set your desired difficulty, game mode, max players, and motd.
  6. Launch the server: Run the jar again. The server generates world chunks and launches the interactive command console.

At this point, anyone on your home Wi-Fi can join via your local IP address. The next step exposes it to external players on the internet.

Making It Joinable: Port Forwarding

By default, your router blocks external inbound connections. Port forwarding instructs your router to send Minecraft traffic straight to your machine.

  • Java Edition requires TCP port 25565.
  • Bedrock Edition uses UDP port 19132–19133 instead.

The standard forwarding procedure:

  1. Find your local IP address: Run ipconfig (Windows) or ip addr (Linux/macOS) in your terminal.
  2. Set a static DHCP IP reservation: In your router’s admin panel, lock your computer to this local IP so it never drifts.
  3. Log into your router admin page: Navigate to 192.168.1.1 or 192.168.0.1 in your browser.
  4. Create the port forward rule: Add a new rule forwarding TCP port 25565 to your local IP address.
  5. Allow the port through Windows Firewall: Create an Inbound Rule in Windows Defender for TCP port 25565.
  6. Test external access: Run your server and test port 25565 on canyouseeme.org.
  7. Share your public address: Send your.public.ip:25565 to your friends.

When Port Forwarding Doesn’t Work: CGNAT

If you configured everything correctly and port 25565 remains closed, your ISP likely routes your connection through CGNAT (Carrier-Grade NAT). When your WAN IP starts with 100.64.x.x, traditional port forwarding is blocked by your internet service provider.

The solution is a free tunneling utility like playit.gg. Run their client alongside your Minecraft server jar, and playit generates a public tunnel address that skips router settings entirely. For a full breakdown, read our PC vs. third-party hosting guide.

Method 2: Use a Free Minecraft Server Hosting Site

If keeping your personal computer awake 24/7 is not an option, free hosting platforms like Aternos run the server on cloud hardware at no cost.

How cloud free hosts work in practice:

  • Web Control Panel: Create an account, pick your Minecraft version and server software (Paper, Forge, Fabric), and boot from a web dashboard with zero router config.
  • Pre-Configured Mod/Plugin Installers: Install popular plugins (EssentialsX, LuckPerms, WorldEdit) directly from an automated library.
  • Included DDoS Protection: Free cloud hosts provide built-in network filtering to prevent home network IP leaks.
  • The Trade-Off (Idle Sleep & Queues): Servers power down automatically when zero players are online. Booting the server back up during peak hours often requires waiting in a hardware allocation queue.

Java vs. Bedrock: Which Free Method Fits Your Edition

Both methods above work for Java Edition. Bedrock requires a few distinctions:

  • Self-Hosting Bedrock: Download the Bedrock Dedicated Server software (BDS) from Mojang and forward UDP port 19132.
  • Free Cloud Hosts: Most free hosts support Bedrock natively or include GeyserMC plugin bridging so Java and Bedrock mobile/console players can explore the same world together.

Frequently Asked Questions

Can I run a modded Minecraft server for free? Yes, both methods support mods — self-hosting works with any mod loader’s server jar (Forge, Fabric, NeoForge), and most free hosting sites offer one-click modpack installs.

Does my Minecraft server need to run 24/7? Only if you want it joinable at all times. Self-hosted servers are online exactly as long as your PC and the server process are running; free hosting sites keep servers online while players are active and put them to sleep when empty.

Can I host a free server for just me and a couple of friends? Yes — both methods work fine at small scale, and a small survival multiplayer world is the lightest possible setup either way.

Final Thoughts

Self-hosting and free cloud hosts solve the same problem from opposite directions: one gives you raw hardware power and total filesystem control, while the other gives you effortless web-based convenience with queue limits.

If you ever want to upgrade your free server into a multi-gamemode hub without spending weeks building arenas, look into Oak Network — it drops right onto any server environment with 10 gamemodes, lobby NPCs, and player ranks ready on day one.

Written by Oak Dev Team

The team behind Oak Servers builds and optimizes high-concurrency Minecraft server architectures. We benchmark single-core clock speeds, memory usage, and TPS under real player loads so you can launch stable, lag-free communities.