Featured image for How to Host a Factorio Server Yourself (DIY Guide)

August 11, 2026

How to Host a Factorio Server Yourself (DIY Guide)

Factorio is still widely played more than a decade after launch, and multiplayer is where factories get ambitious. If you want a world that stays online when your PC is off, you need a dedicated server.

You have two realistic paths: host it yourself on a VPS or home machine, or rent a managed Factorio server. This guide focuses on the DIY route so you know what is involved before you decide.

Self-host vs managed Factorio hosting

Self-hosting means you install Factorio’s headless dedicated server, open ports, keep the process running, and handle updates, backups, and mods yourself. It can be cheap if you already have a spare PC or a low-cost VPS, and you get full control.

Managed hosting (like AleForge Factorio servers) handles install, restarts, panel access, DDoS protection, and easy file/mod management for you. You pay for convenience and reliability instead of sysadmin time.

Choose DIY if you enjoy server admin work and your factory is still light. Choose managed hosting when UPS dips, friends need the world up 24/7, or you would rather build belts than debug systemd.

What you need to run a Factorio dedicated server

Factorio’s dedicated server is CPU-bound. Megabases and heavy mods care more about a strong single core than a huge core count. Plan for:

  • A stable always-on machine or VPS with a solid single-thread CPU
  • Enough RAM for your save and mods (start modest; scale as the factory grows)
  • Fast storage (SSD/NVMe preferred for autosaves and map load)
  • A public IP or port-forwarded home connection (UDP/TCP as required by Factorio)
  • Time to apply game updates and keep backups

For small co-op vanilla worlds, modest hardware is fine. For Space Age, large mods packs, or late-game UPS, expect to upgrade CPU and RAM sooner than you think.

How to set up a headless Factorio server

High-level DIY flow:

  1. Get the dedicated server files from Factorio (SteamCMD or the official standalone dedicated server package).
  2. Create or copy a save into the server’s save directory, or generate a new map on first launch.
  3. Configure server-settings.json (name, description, visibility, max players, autosave interval, and password if you want one).
  4. Add admins via server-adminlist.json so trusted players can run multiplayer commands.
  5. Open the Factorio port on your firewall/router so friends can join by IP.
  6. Start the headless process and verify it appears in the in-game server browser if public, or that friends can join directly.
  7. Optional: install mods by placing matching mod ZIPs in the mods folder and enabling Space Age content if your group owns it.

Keep the server process supervised (systemd, Docker, or a panel) so it restarts after crashes or reboots. Schedule autosaves and copy them off-box regularly.

Official references worth bookmarking:

Mods, Space Age, and common DIY gotchas

  • Everyone must match versions. Game version and mod set must be identical for host and clients or joins fail.
  • Public browser listing needs a Factorio username/token on the server when you want it discoverable in-game.
  • UPS drops are normal as factories grow. DIY hosts often hit a wall when one home PC cannot keep the simulation smooth.
  • Backups matter. A corrupted save after a power blip hurts more than a missed production cycle. Keep rolling autosaves.
  • Home ISP limits (CGNAT, dynamic IPs, residential upload) are the most common reason DIY “works for me” but fails for friends.

If you are fighting token setup, autosaves, admin lists, or Discord bridges, AleForge’s Factorio help docs cover the same workflows on managed servers.

When DIY stops being worth it

Self-hosting is a great learning project. It stops being fun when:

  • Your factory’s UPS is limited by the machine under your desk
  • Friends cannot join because of networking or power outages
  • You are tired of applying updates and restoring saves
  • You want one-click mods, locations closer to your group, or always-on uptime without babysitting

That is the point where a managed Factorio server usually costs less than your time.

Start DIY, or skip the sysadmin work

You can absolutely host Factorio yourself with the headless dedicated server, a stable CPU, open ports, and disciplined backups. Use this guide to try DIY first if that is your goal.

When you want the factory online without the maintenance, spin up an AleForge Factorio server and get back to building.

Need a Factorio server?

From $1.99/mo · instant setup · DDoS protection

Stuck on a Quest? Let's Troubleshoot Together.

Signal our support guild for help with your server setup, or consult the archives for solutions to common technical issues.

Read FAQs
Summon Live Support Send a Dispatch