DayZ Server Ports: Which to Open and Why It Matters
DayZ server ports depend on your launch settings. Check the game and query ports in your config, and expose BattlEye RCon only when you need it.
You will need
- A DayZ dedicated server for PC on Steam
- Access to the launch arguments and active server configuration
- Access to the firewall or hosting provider network settings
The right DayZ server ports come from the server you are actually running. Bohemia documents a game-port example and a Steam query-port example, but your launch arguments and serverDZ.cfg decide which values apply. Treat old port lists as starting points to investigate, not rules to copy.
This guide covers a self-hosted dedicated server for DayZ on PC through Steam. It does not cover Xbox, PlayStation, or the Microsoft Store/Game Pass PC build. A port rule cannot make those editions compatible with a Steam server; see our DayZ crossplay guide.
The goal is to match a firewall rule to one running server. A list of numbers without the launch settings can send you to the wrong router or leave the server invisible even though the game process is running. Start with the configuration, then check the network rule.
Find the DayZ server ports in the active settings#
Bohemia’s DayZ server configuration reference lists -port=2302 as an example launch parameter for the dedicated server’s listen port. The same reference gives this sample in serverDZ.cfg:
steamQueryPort = 2305;The query port is used for server-browser visibility. In the official example, the game port is 2302 and the query-port value is 2305. They are not guaranteed values for every DayZ server. The game port can be changed with -port; use the query value your active config sets.
Before you add firewall or router rules, find the launch arguments used to start the server and open the serverDZ.cfg file selected by -config. The filename alone does not prove that it is active. If a hosting company manages the server, ask it for the assigned game and query endpoints rather than entering a generic pair from a forum post.
For a self-hosted PC server, the arguments may be in a startup shortcut, a batch file, a service definition or a management tool. Look for the actual running process and the -config value it uses. The active configuration file may have a different name from serverDZ.cfg; Bohemia’s reference notes that the launch parameter selects the file. Read that file rather than editing a similarly named copy from an old download or test server.
The game and query settings answer different questions. -port identifies the dedicated server’s game listen port in the launch line. steamQueryPort is the server-browser query value in the configuration. Use each value for its matching purpose and record the source file or argument beside it. A configured query value should not be replaced by a number just because another guide used it.
| Port role | Where to check | What to do |
|---|---|---|
| Game traffic | The server’s -port launch argument |
Use the value configured for that specific server. Bohemia’s documented example is 2302. |
| Steam query | steamQueryPort in the active serverDZ.cfg |
Use the configured value. Bohemia’s sample is 2305; it is not a universal default. |
| BattlEye RCon | RConPort in that server’s BattlEye config |
Include it only if you use remote RCon, and restrict who can reach it. |
For the broader self-hosting path, see our DayZ server setup guide.
Check the transport before adding a firewall rule#
The current Bohemia configuration reference gives the port settings and sample numbers, but it does not publish a complete TCP/UDP forwarding table for every self-hosted network. Do not choose a protocol just because a generic list includes it. Check the current server, operating-system firewall and router documentation for the exact endpoint you are configuring.
Avoid selecting both TCP and UDP “to be safe” when you have not confirmed they are needed. If the server is running and a rule still does not work, test a real connection from outside your local network and check server logs before widening the rule.
The values also depend on whether the game server is self-hosted or rented. A managed host may assign a game endpoint and a separate query endpoint, then handle the provider-side routing. Those values are specific to that host and instance; they do not replace the settings a self-hoster must read from their own server. If you rent a server, use the endpoints shown in its panel or ask the provider before touching a home router.
Keep each server instance’s values separate#
Keep the game and query values for each server together in your notes. If you run more than one instance, check each instance’s launch arguments and config separately; do not assume every process uses the same pair. A rule for one process does not tell you which endpoint another process uses.
For steps in the router interface, use the device maker’s documentation and the configured values you just identified. If your router requires a fixed local destination, confirm which computer or server instance receives the connection before saving a rule.
If the machine runs multiple DayZ servers, make a small inventory before changing anything: server name, launch command, selected config file, game value and query value. Two instances cannot both claim the same listening endpoint on the same address. A management tool or hosting provider may assign the ports automatically, so follow its allocation instead of manually copying values between instances. When one instance works and another does not, compare their actual values and logs before editing either one.
Why 27016 and port ranges cause confusion#
Older community guides often repeat 27016 as the DayZ query port, or recommend opening a block such as 2302–2306. Those values are not supported as universal DayZ requirements by the current Bohemia server configuration reference. Its example uses steamQueryPort = 2305, and it does not define a mandatory game-port range.
The reference also lists clientPort = 2304, but it does not say that every dedicated server owner should forward that value. Do not add a port to your router simply because its number is near the game port. Confirm what your server configuration and network setup use.
Keep RCon separate from player access#
BattlEye RCon is an optional remote administration connection; players do not need it to join a DayZ server. Bohemia’s reference describes BattlEye settings in BEServer_x64.cfg, while BattlEye’s documentation says the RCon port is configured and must differ from the game server’s ports. Neither source gives one DayZ RCon port to use on every installation.
If you do not use remote RCon, do not create an internet-facing rule for it. If you do use it, read the RConPort in the config belonging to that running server, keep its password private, and limit network access to trusted administrator addresses. A managed server may keep its RCon connection private inside the service; customers should not expose an internal control connection on their own router.
Check the result from outside your home network#
After matching the server’s current settings to your firewall and router, test from a connection outside the same local network. Search for the server in the DayZ Launcher or try its direct-connect address, then check the server’s logs and your provider or router status if it does not appear. A generic port-check website is not proof that a DayZ server can accept a player; many checks do not verify a UDP game session.
If direct connection works but the server is missing from the browser, compare the active query-port setting and the endpoint your launcher is checking. Bohemia specifically notes that its steamQueryPort example can help fix a server that is not visible in the browser. If the server does not accept a direct connection either, inspect the launch argument, the game port rule and the server log first. These observations narrow down the next check; they do not identify the cause without testing the server you are running.
Make one change at a time. Confirm the launch argument and query-port setting again before changing another rule. For server configuration paths, see where DayZ keeps its server files. If the remaining concern is DDoS coverage rather than a missing port, read what DayZ server DDoS protection should include.
Recheck the source after a game update#
DayZ changes over time, but a game update does not automatically change your server’s port settings. Check the current PC Stable update notes when clients and servers show different builds, then read the actual launch arguments and configuration for the server you are troubleshooting. Do not infer a new port assignment from an update notice that does not mention networking.
When you update the dedicated server, check the current launch arguments and settings again before changing the router. If an update note does not mention networking or a port, do not infer that the port assignment changed. If the host or management software changes an endpoint, use the newly assigned value and test it before telling players that the server is ready.
Keep a copy of the working configuration and note the game build alongside it. That makes it easier to compare before and after an update without replacing active files or opening extra ports. For provider-specific assignments, keep the panel’s current endpoint details with the server name so a future restart or migration does not leave an old number in your notes.
Game Hosting’s DayZ service is for PC players using Steam. The service provisions the server connection and includes DDoS protection, so you do not set up a home-router forward for that rented server. Check the DayZ hosting plans if you would rather have the network setup managed for you.
The practical checklist is short: identify -port, identify steamQueryPort, and add BattlEye RCon only if you intentionally use it. Verify the resulting server from outside your LAN instead of trusting a copied port list.
Quick answers
What ports should I open for a DayZ server?
Start with the active game port from `-port` and the Steam query port from `steamQueryPort`. The official DayZ example shows 2302 and 2305, but these are example values, not a universal port pair.
Is 27016 the default Steam query port for DayZ?
The current Bohemia server configuration example uses 2305 for `steamQueryPort`. Check your own active config instead of treating 27016 as a default.
Do I need to open a BattlEye RCon port?
Only if you deliberately use remote BattlEye RCon. Check the `RConPort` in the BattlEye config for that server and restrict access to trusted addresses; do not expose it just to let players join.

