To host a private multiplayer server in Project Zomboid, you use the built-in Host option from the main menu, which creates a server on your own computer that friends can join directly. This guide covers the entire process, from setup and configuration to troubleshooting and security, so you and your friends can survive the apocalypse together.
Understanding the Hosting Options
Project Zomboid offers two primary ways to play multiplayer: hosting a server yourself (either from the main menu or via a dedicated server) or joining a public server. For a private game with friends, the simplest method is the in-game Host option, which runs the server on your PC while you play. This is ideal for small groups (2–8 players) and doesn’t require any additional software. The alternative is a dedicated server, which runs separately from the game client and is better for larger groups, persistent worlds, or when you want the server to stay online even when you’re not playing.
Step-by-Step: Hosting from the Main Menu
- Launch Project Zomboid and click Host on the main menu.
- Choose a save file or create a new one. The game will use this world for your server.
- In the Server Settings tab, set a Server Name and Server Password. The password is crucial for keeping your server private.
- Configure the Server Options (e.g., PvP, zombie population, loot rarity) to your liking. You can leave them at default for a standard experience.
- Click Start Server. The game will load the world and then place you in the game. Your friends can now join via the server browser (using the name) or by entering your IP address directly.
Once the server is running, you’ll see a small server control panel at the top of the screen. You can use it to kick/ban players, change settings, and save the game. Your friends will need your public IP address to connect if they aren’t on the same local network.
Port Forwarding and Firewall Setup
For friends outside your local network to join, you must forward a port on your router. Project Zomboid uses port 16261 (UDP) by default. To forward it:
- Find your router’s IP address (e.g., 192.168.1.1) and log into its admin panel.
- Locate the Port Forwarding section (often under Advanced or NAT).
- Create a new rule: enter your computer’s local IP (e.g., 192.168.1.100) and the port 16261, choosing UDP as the protocol.
- Save the rule and restart the router if needed.
You’ll also need to allow Project Zomboid through your Windows Firewall. If you’re using a dedicated server, you’ll need to forward both the game port and the Steam query port (16262). If you’re using a VPN (like Hamachi), port forwarding may not be necessary, but all players must be on the same VPN network.
Using a Dedicated Server (For Larger Groups)
If you want a more robust setup, you can run a dedicated server. This is a separate executable that doesn’t require the game to be open. You can download it via Steam (in your library, under Tools, look for “Project Zomboid Dedicated Server”). After installing, you configure it via a servertest.ini file in the server’s folder. Key settings include:
- ServerName – the name shown in the browser.
- Password – for private access.
- MaxPlayers – the player cap.
- Public – set to false to keep it hidden from the public list.
Run the server once to generate the file, edit it, then run it again. The dedicated server is more stable for long sessions and allows you to run mods more easily. However, it requires more technical knowledge and a beefier PC if you’re hosting many players.
Common Problems and Fixes
Players often run into connection issues. Here are the most frequent ones:
- “Connection failed” – Usually means the server isn’t reachable. Check your firewall, port forwarding, and that the server is actually running.
- Friends can’t see the server in the browser – If you set a password, they must use the “Join by IP” option and enter your IP and password. Also, ensure the server is set to “Public” in the settings, or it won’t appear.
- Lag/rubber-banding – This is often due to your upload speed. If you have slow upload, reduce the number of players or lower the server’s tick rate.
- Server crashes on startup – Often caused by mod conflicts. Disable mods and re-enable them one by one.
If you’re using a dedicated server, check the server-console.txt log for error messages. For the in-game host, the console (press `~`) will show errors.
Costs and Performance Considerations
Hosting your own server is free – you only pay for your own electricity and internet. However, your PC’s performance matters. The game is CPU-intensive, and hosting a server while playing can cause FPS drops. For 2-4 players, a mid-range CPU (like an i5) is fine. For more, consider a dedicated machine or a paid server rental. Renting a server from a hosting provider costs money (typically per slot), but it offloads the work and provides better uptime. If you’re on a tight budget, hosting yourself is the way to go.
Security and Save Management
To keep your server private, always set a strong password and never share it publicly. Be cautious with mods – only use ones from the Steam Workshop that are well-reviewed. Back up your save files regularly. They are located in C:\Users\[YourName]\Zomboid\Saves\Multiplayer (or DedicatedServer for dedicated servers). Copy this folder to a safe location to prevent losing your progress. Also, be aware that the in-game host saves the world when you exit, but if you crash, you may lose a few minutes of progress.
Frequently Asked Questions
Can my friends join without port forwarding?
Yes, if you use a VPN like Hamachi or Radmin VPN. All players install the VPN, join the same network, and then connect using the host’s VPN IP address. This bypasses the need for router configuration.
How do I add mods to my server?
For the in-game host, subscribe to mods on the Steam Workshop, then enable them in the Mods tab when setting up the server. For a dedicated server, you need to add the mod IDs to the servertest.ini file under Mods= and WorkshopItems=.
Can I play while hosting a server?
Yes, the in-game host allows you to play directly. For a dedicated server, you can also play on the same PC, but it will use more resources. It’s generally fine for small groups.
Why does my server lag when I’m not even playing?
If you’re hosting a dedicated server, it may be due to your internet upload speed or the server’s settings (like zombie count). Check your upload speed – you need at least 5 Mbps for a few players. Also, lower the server’s ZombieLore settings if needed.
How do I make my server appear in the public list?
In the server settings, set Public to true. It may take a few minutes to appear. If it doesn’t, check your port forwarding – the Steam query port (16262) must also be open.
Can I run a server on a laptop?
Yes, but it will be limited. A laptop with a decent CPU and 8GB RAM can host a small server for 2-3 players, but expect lower performance. Ensure it’s plugged in and has good cooling.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Increase Internal Memory Xiaomi Phones: How-To
- Nvidia Display Settings Are Not Available: Fixes
- Gmod Keeps Crashing? Fixes That Actually Work
- Net Code Analysis Workflow: A Reliable Setup Guide
- Satellite Internet Down: What to Do Now
- Audit an AI Agent’s Privacy Before Connecting Accounts