Days to Die Server Ports: Defaults & Forwarding Guide
In this article
This guide explains the default ports used by Days to Die dedicated servers and how to set up port forwarding so other players can join your game. You'll learn which ports to open, how to configure your router, and how to troubleshoot common connection issues.
Default Ports for Days to Die Servers
Days to Die uses a single primary port for game traffic, with a secondary port for Steam query information. The default game port is 26900 (UDP), and the Steam query port is 26901 (UDP). Some setups also use TCP 26900 for certain Steam features, but UDP is the critical protocol for gameplay.
When you start a dedicated server, it listens on these ports. If you run multiple servers on the same machine, each server needs its own set of ports—typically incrementing by 10 (e.g., 26910, 26911 for the second server).
How Port Forwarding Works
Port forwarding tells your router to send incoming traffic on specific ports to a particular device on your local network. Without it, the router drops incoming connection attempts, so players outside your network cannot reach your server.
Here’s the basic flow:
- Your server computer runs the Days to Die dedicated server software and listens on UDP 26900.
- A player connects to your public IP address at port 26900.
- Your router receives that packet and, because of a forwarding rule, sends it to your server’s local IP address (e.g., 192.168.1.100) on the same port.
- The server responds back through the router, and the connection is established.
For this to work, your server computer must have a static local IP address—otherwise the forwarding rule breaks when the IP changes.
Step-by-Step Port Forwarding Guide
Here’s how to set up port forwarding for a Days to Die server:
- Find your router’s gateway IP – On Windows, open Command Prompt and type
ipconfig. Look for the “Default Gateway” (e.g., 192.168.1.1). On macOS, go to System Settings > Network > your connection > Details. - Log into your router – Enter the gateway IP in a web browser. Use the admin username and password (often printed on the router or in its manual).
- Find the port forwarding section – Look for “Port Forwarding,” “Virtual Server,” or “Applications & Gaming” in the router’s menu.
- Create a new rule – Enter a name (e.g., “DaysToDie”), select UDP (or both TCP/UDP), and fill in the external and internal port as 26900.
- Enter your server’s local IP – This is the IP address of the computer running the server (e.g., 192.168.1.100). Make sure it’s static.
- Add a second rule – Repeat for port 26901 (UDP) if you want Steam query to work.
- Save and apply – Most routers require a save/apply button. Some may need a reboot.
After saving, test the connection from an outside network (e.g., using your phone’s mobile data) by attempting to connect to your public IP with the game’s “Connect to IP” option.
Common Problems and Solutions
Port forwarding often fails due to a few recurring issues:
- Wrong local IP – If your server’s IP changes after a reboot, the forwarding rule points to the wrong device. Set a static IP in your router’s DHCP reservation or on the computer itself.
- Firewall blocking – Windows Firewall or third-party antivirus may block incoming connections. Allow the dedicated server executable (or port 26900 UDP) through the firewall.
- Router’s “UPnP” conflict – If UPnP is enabled, it might automatically open ports, but sometimes it conflicts with manual rules. Disable UPnP or remove duplicate rules.
- ISP blocking – Some internet service providers block inbound traffic on common gaming ports. Try using a non-standard port (e.g., 27000) and forward that instead.
- Double NAT – If you have a modem and a separate router, both may be doing NAT. Put the modem in bridge mode or forward ports on both devices.
How to Choose Custom Ports
You are not forced to use 26900. In the server configuration file (serverconfig.xml), you can change the ServerPort setting to any value between 1024 and 65535. If you change the game port, the Steam query port is automatically set to ServerPort + 1.
Choosing a non-default port can help avoid conflicts with other software or ISPs that block known ports. However, you must update your port forwarding rules to match the new values, and players must specify the custom port when connecting (e.g., yourIP:27000).
Port Forwarding vs. UPnP vs. VPN
There are three main ways to expose your server:
- Port Forwarding – Manual, reliable, and works with any router that supports it. Requires a static local IP.
- UPnP – Automatic, but not all routers support it, and it can be a security risk if left enabled. Days to Die’s dedicated server can attempt UPnP if enabled in the config, but it’s often unreliable.
- VPN (e.g., Hamachi, ZeroTier) – Bypasses port forwarding entirely by creating a virtual LAN. Easy to set up, but adds latency and requires all players to install the same VPN client.
For a public server with many players, port forwarding is the standard approach. For a small group of friends, a VPN might be simpler.
Security Considerations
Opening ports exposes your server to the internet, so take basic precautions:
- Keep your server software up to date to patch known vulnerabilities.
- Use a strong admin password in
serveradmin.xml. - Do not forward ports for any other service on the same machine unless necessary.
- Consider using a firewall on the server computer to allow only the required ports.
Port forwarding itself is not dangerous, but a poorly configured server can be exploited. Also, be aware that your public IP is visible to players—if you want to hide it, use a proxy or a hosting provider.
Frequently Asked Questions
Do I need to forward both TCP and UDP?
For Days to Die, UDP is essential. TCP is used for some Steam features, but most players connect via UDP. Forwarding both is safe and recommended if your router allows it.
Why can’t I connect even after forwarding?
Check that your server is running and listening on the correct port (use netstat -an on Windows). Also, test from an external network—connecting to your own public IP from inside the same network often fails due to NAT loopback limitations.
What is my public IP address?
Search “what is my IP” on a web browser. This is the address players will use to connect. Note that it can change unless you have a static IP from your ISP.
Can I run multiple servers on one machine?
Yes, but each server must use a different game port (e.g., 26900, 26910, 26920). Forward each port to the same local IP, and players will connect to the respective port.
Does port forwarding affect my internet speed?
No, port forwarding itself does not affect speed. It only tells the router where to send incoming traffic. However, hosting a server uses upload bandwidth, which can impact your connection if many players are active.