Guide Factorio

Factorio Headless Server Setup on Linux and Windows

Host Factorio with the Linux headless package or Windows, create a save, configure server-settings.json, open UDP 34197 and keep multiplayer mods synchronized.

Factorio illustration
Source: coop-legends.de

Overview

Factorio 2.1 became stable on October 23, 2026. Wube supplies an official headless server build for persistent co-op factories. Install a server build that matches your players' client versions and active mods; the older distinction between 2.0 stable and 2.1 experimental no longer applies. The official 2.1 stable announcement confirms the branch transition.

On Linux, Wube offers a free headless package without graphics or audio, which the download page says also includes Space Age content. Dedicated hosting keeps the shared factory available independently of the player who started it.

Prepare the Factorio headless server

For a Linux server, Wube recommends the dedicated headless distribution from factorio.com rather than installing client-only graphics and audio dependencies. On Windows, a normal game installation can be launched in dedicated-server mode.

Wube recommends a separate operating-system account to run the service instead of operating continuously as root.

Create a world for the server

The server requires a save file. Generate a new world from the command line using the official syntax:

./bin/x64/factorio --create ./saves/my-save.zip

Or copy an existing world to the saves folder after stopping the game and server and making an independent backup.

Launch the dedicated server

To start a particular save under Linux:

./bin/x64/factorio --start-server ./saves/my-save.zip

To load the most recently saved game, use --start-server-load-latest. Combine that with the JSON server configuration:

./bin/x64/factorio --start-server-load-latest --server-settings ./data/server-settings.json

For Windows, the official Wiki documents the same syntax with factorio.exe, for example:

start /wait .\bin\x64\factorio.exe --start-server-load-latest --server-settings .\data\server-settings.json

These commands can go into a restart script. The cited multiplayer Wiki does not present a complete Windows-service or Linux systemd deployment procedure; those require separate OS-specific instructions.

Configure server-settings.json

Wube supplies server-settings.example.json in the Factorio data directory. Copy it to server-settings.json and edit the copy.

Configure server name, description, tags, player count, password and visibility. Factorio distinguishes publicly listed, LAN and hidden sessions. Players can still use Connect to Address when public listing is disabled.

For public server discovery, the official Wiki documents extra authentication information such as a username or authentication token. Treat the token as a password and never disclose it in screenshots or public configuration files.

Open port 34197/UDP

The default network port is 34197/UDP. A custom port must match the server, firewall and any NAT forwarding rule. Factorio's multiplayer transport uses UDP; when direct connection fails, first check the public address, firewall allowance and router forwarding rather than opening unrelated TCP ports.

Mods, versions and connection troubleshooting

All joining Factorio installations require matching versions and relevant mods. Schedule updates carefully and back up saves and settings beforehand.

ProblemCheck first
Cannot join after updateStable/Experimental branch and exact client/server version
Modded player rejectedMod list and installed versions
Direct connection fails34197/UDP, firewall, forwarding and routers modifying the UDP source port
Not in public server listVisibility and authentication values in server-settings.json; test Connect to Address
No world to loadCreate a save using --create or pass an existing one

Rent or self-host a Factorio server?

Self-hosting is well documented and provides direct access to saved games, mods and JSON configuration. Managed hosting can be simpler if you do not want to administer Linux, firewall and updates yourself.

Compare server location, backup exports, file access, mod support, CPU capacity and whether the provider lets you intentionally select stable or experimental releases and import/export saves.

Factorio dedicated-server FAQ

34197/UDP by default. If changed, the chosen port must match the server's network configuration, firewall and forwarding.

Yes. Create one with --create or provide an existing saved world.

Yes. Wube offers a Linux headless distribution without a graphical interface.

The official multiplayer Wiki requires compatible game versions and relevant mods; mismatches can block joining.