Guide

How to Host a Project Zomboid Build 42.20.4 Dedicated Server

A dedicated Project Zomboid server is the right tool when the world should stay online without the host client. On current Build 42 stable, the server application is Steam App ID 380870 and anonymous SteamCMD login works. The most common failures are not “server magic”: they are wrong build files, mismatched server identity, closed UDP ports, stale mods, or an update applied without a save/config backup.

How to Host a Project Zomboid Build 42.20.4 Dedicated Server

At a glance

The short version

Game
Project Zomboid
Guide type
Events and Mechanics
Read time
4 min read
Last updated
Nov 8, 2026

Quick answer

On current Build 42 stable, the server application is Steam App ID 380870 and anonymous SteamCMD login works.

Quick answer

  • Install the dedicated server with SteamCMD using app_update 380870 validate on the current Stable branch.

  • Forward/allow UDP 16261 and 16262 for current Build 42 internet hosting; LAN-only play does not need router forwarding.

  • Back up Server configs, Multiplayer saves and database data before changing build branch, server name, cache path or Workshop list.

The server config editor, map settings open — Muldraugh, IrisEyot and Riverside on the list

Guide details

Swipe horizontally to view all columns.

StageWindows exampleWhat matters

Install

steamcmd +login anonymous +force_install_dir D:\PZServer +app_update 380870 validate +quit

Use the dedicated app 380870, not the game app

First run

StartServer64.bat

Let Build 42 generate the config/save family

Configure

Zomboid\Server\servertest.ini

Keep server name consistent with its files

Network

UDP 16261 + 16262

Firewall and router forwarding for WAN

Update

Stop → SteamCMD update → start

Never update a live writing save

Install and prove a vanilla server first

Download App 380870, run the server once, set a strong admin password, join the world, save, stop cleanly and restart. Do this before adding Workshop mods. If vanilla persistence is not proven, mods only add more variables to troubleshoot.

Crates stacked in a warehouse, the loot window open. Install and prove a vanilla server first: run it once, join, save, restart and verify persistence before adding any mod.

Know which files define the world

The server name selects the INI/Lua configuration family and the Multiplayer save identity. Keep the same server name and cache root after the world becomes durable. A mismatch can look like a wiped map even when the old files still exist.

A brick storeroom with shelves, a crate and a chair. Know which files define the world: the server name selects the configuration family, and identity must stay stable once the world is durable.

Open only the ports you need

For current Build 42 player traffic, UDP 16261 and 16262 are the important ports in current guides. Add OS firewall rules and router forwarding only when the server must be reachable from outside the LAN.

A fenced yard of log walls with tents and a fire pit. Open only the ports you need: player traffic starts with the current Build 42 UDP ports, plus firewall and router rules for wide-area play.

Backup before updates and mod changes

Stop the server cleanly. Copy the Server folder, Multiplayer save, database and mod records before major changes. Then run SteamCMD again. If a patch or Workshop update breaks something, a verified backup is faster than trying to reconstruct the old world from memory.

A garage with cars on lifts and a workbench. Backup before updates and mod changes: stop the server cleanly, copy the server and save folders, and never update while the server is writing the world.

Troubleshooting and common mistakes

Swipe horizontally to view all columns.

ProblemFix / response

Server starts but no one can join

Check OS firewall, router forwarding, Public/password settings and that the clients are on the same build.

World looks reset after changing launch options

Verify server name/cachedir and point the launch back to the original config/save identity.

Mods download but joining fails

Check both Mods= and WorkshopItems=, dependencies and load order, then fully restart.

Update broke the world

Stop experimenting and restore the pre-update backup before changing more variables.

A workshop interior with benches, tools and a forge. Most server failures are not mysterious: wrong build files, mismatched identity, closed ports, stale mods, or an update without a backup.

FAQ

What is the dedicated server Steam App ID?

380870.

The skills panel: Carpentry, Cooking and combat skills, with XP bars. The dedicated server application is a separate download from the game client: fetch the right build before configuring anything.

Which ports should I start with on Build 42?

Current Build 42 guides use UDP 16261 and 16262 for player traffic.

Can I host without SteamCMD?

Yes, the Steam dedicated-server tool is another route, but SteamCMD is the easiest repeatable install/update method for a headless box.

The spawn-selection map: Rosewood starred, the town list on the left. Hosting without SteamCMD is possible through the Steam dedicated-server tool, but the same rules apply: prove vanilla, then add mods.
Was this helpful?Your vote is stored on this device only.

Save this guide

Sign in to save guides and sync them across devices.

Sign in