๐ŸŽ‰ Save 25% on your first month with code: DOOM25
Project ZomboidProject ZomboidยทTroubleshooting

Project Zomboid Port Forwarding Guide (Port 16261)

Forward port 16261/UDP for Project Zomboid in 5 steps. Router-by-router instructions, Windows Firewall, CGNAT fixes, and verification.

Andreas
ยท
5 min read
ยท
Last updated: May 7, 2026

Project Zomboid Port Forwarding Guide

If players can't connect to your Project Zomboid server, port forwarding is almost always the cause. This guide covers the exact ports needed, how to forward them on common routers, and how to verify the forward worked.

Hosted on DoomHosting? You don't need to port-forward anything. Our servers expose ports automatically. This guide is for self-hosted setups (your own PC or a home server).

The exact ports you need

Project Zomboid (Build 41 and 42) requires only one port for client connections:

Port Protocol Purpose
16261 UDP Game traffic (required)

Older guides mention port 16262 and a port range up to 16272. Since Build 41.65, only 16261/UDP is needed for player connections โ€” additional ports were retired with the new networking layer.

If you also want Steam server browser visibility, also forward:

Port Protocol Purpose
16261 TCP Steam server browser
8766 UDP Steam query (optional)

Step 1 โ€” Find your local IP

On the machine running the server:

Windows: Open Command Prompt โ†’ ipconfig โ†’ look for IPv4 Address (e.g. 192.168.1.50)

Linux: ip addr | grep inet โ†’ use the 192.168.x.x address

Write this down. The forward needs to point here.

Step 2 โ€” Open your router admin panel

In a browser, navigate to your router's admin interface. Common addresses:

  • 192.168.1.1
  • 192.168.0.1
  • 10.0.0.1

Log in (default credentials are usually printed on the router itself).

Step 3 โ€” Add the port forward rule

The exact menu varies by router brand:

Brand Menu path
TP-Link Advanced โ†’ NAT Forwarding โ†’ Virtual Servers
Netgear Dynamic DNS / Port Forwarding
ASUS WAN โ†’ Virtual Server / Port Forwarding
Linksys Security โ†’ Apps and Gaming โ†’ Single Port Forwarding
Fritz!Box Internet โ†’ Permit Access โ†’ Port Sharing

Add a new rule with:

Service Name: Project Zomboid
External Port: 16261
Internal Port: 16261
Internal IP: <your local IP from Step 1>
Protocol: UDP

Save and apply. Some routers require a reboot.

Step 4 โ€” Allow through Windows Firewall

If the server runs on Windows:

  1. Search "Windows Defender Firewall with Advanced Security"
  2. Click Inbound Rules โ†’ New Rule โ†’ Port
  3. Select UDP, specific port 16261
  4. Allow the connection, all profiles
  5. Name it Project Zomboid Server

Repeat with TCP if you forwarded that too.

Step 5 โ€” Verify the forward worked

Use an online port checker:

  • Go to canyouseeme.org or portchecker.co
  • Enter port 16261 and protocol UDP (note: most checkers only test TCP โ€” for UDP try portcheckers.com)
  • Start your PZ server first
  • Click check

If it shows "open" โ€” done. If it shows "closed" but the server is running, the forward didn't apply or your ISP blocks it (some CGNAT setups do).

CGNAT โ€” when port forwarding can't work

Some ISPs (especially mobile/4G/5G internet) put you behind CGNAT (Carrier-Grade NAT). You don't get a real public IP, so port forwarding is impossible. Symptoms:

  • Your "public IP" from whatismyip.com doesn't match the WAN IP shown in your router
  • Port checker says closed even with everything configured correctly

Fix: Either ask your ISP for a public IP (usually a paid extra), use a VPN with port-forwarding support (Mullvad, AirVPN), or rent a dedicated hosting tier instead. Self-hosting is genuinely impossible on CGNAT without one of these workarounds.

Tell players how to connect

Once forwarded, players connect using:

  • IP: Your public IP (from whatismyip.com)
  • Port: 16261
  • Server name: Whatever they want โ€” local label only

In the Join Server screen, the IP and port go in the obvious fields.

Common errors

"Connection failed" / timeout โ€” port not actually forwarded, or wrong protocol (must be UDP, not TCP).

Players in your house can't join via public IP โ€” NAT loopback isn't enabled on your router. They should use the local IP 192.168.x.x:16261 instead.

Server visible to you but not others โ€” Windows Firewall is blocking UDP 16261. Re-check the inbound rule.

Public IP keeps changing โ€” your ISP gives you a dynamic IP. Use a Dynamic DNS service (DuckDNS, No-IP) so players use a hostname instead.

FAQ

Do I need to forward port 16262 like older guides say? No. Build 41.65+ retired the per-player port range. Only 16261/UDP matters now.

Can I change the default port? Yes โ€” edit DefaultPort in servertest.ini. Then forward whatever port you set.

Why is my server slow with players from far away? Self-hosting from home means upload bandwidth and routing matter. Most home connections have 10โ€“40 Mbps upload โ€” fine for 4โ€“8 players, painful for 16+. A dedicated hosting tier sits on a 1 Gbps line in a datacenter near your players.

Do I need a static IP? No, but a Dynamic DNS hostname is much friendlier than telling players a new IP every week.

๐Ÿš€

Start your Project Zomboid Server

High performance hosting with 24/7 support

Related Articles