ARK
ARK ASA Ports Explained: Game, Query, and How Many You Actually Need
Which ARK: Survival Ascended ports to open (UDP 7777, 7778, 27015, optional TCP 27020), how to number ports for a second map, and a port budget for tight VPN caps.
The official ARK wiki lists four ports for a dedicated server. A first home server usually gets by with one or two of them, and forwarding more than you need matters when your router, VPN, or host caps the number of ports you can open. This guide explains what each port does, which ones to forward, and how to number them when you add a second map or another game.
It is written for ARK: Survival Ascended (ASA) on a Windows PC. If you have not installed the server yet, start with How to Host an ARK: Survival Ascended Server on a Windows PC at Home.
The four ports on the official wiki
These are the ports in the ARK community wiki’s dedicated server setup page:
| Port | Protocol | What it is | Forward it? |
|---|---|---|---|
| 7777 | UDP | Game port. Players connect here. | Yes, always. |
| 7778 | UDP | Peer port, always the game port plus one. | Optional. Use it if you can spare the port. |
| 27015 | UDP | Query port. Used by Steam’s server browser. | Only if you want browser discovery. |
| 27020 | TCP | RCON, remote console. Optional, and off unless you enable it. | No. Use it from your own network only. |
A few notes on what the wiki says about them:
- The game port defaults to 7777. On ASA you set it with
-port=. The wiki notes that the?Port=append syntax is not supported on ASA, so the server stays on the default 7777. - The peer port is always the game port plus one. The wiki describes it as the port used by Steam’s peer-to-peer protocol for in-game browser advertising. Players who connect directly with
open IP:7777are not the use case it describes. - The query port is described as being for Steam’s server browser only. If you set a query port above 27019, players who add the server to their Steam favorites have to give the address as
IP:QUERYPORT. - RCON needs
RCONEnabled=True, anRCONPort, and aServerAdminPassword. It is a remote admin console, not something players need.
One caution on the query port: the wiki’s option table marks ASA support for QueryPort as “Unknown”, even though many community setups pass -QueryPort= on ASA and it works. If you change it, check with netstat (below) that the server is really listening where you expect.
How many you actually need
Start small and add ports only when something specific is missing.
| Goal | Forward on the router (UDP) | Notes |
|---|---|---|
| Friends join by address | 7777 | Where most home servers should start. |
| Also appear in the Steam server browser | 7777, 27015 | Add 27015 only if “open IP:7777” works but the server is hard to find. |
| Follow the wiki’s full list | 7777, 7778, 27015 | Three forwarded ports per map. |
| Remote admin from your own network | no extra forward | Allow RCON in Windows Firewall for your local network only. Do not forward 27020. |
You still need a matching inbound Windows Firewall rule for every port you forward, otherwise the traffic reaches the PC and is dropped there.
Set the ports in your start script
This is the start script from the main guide with the query port made explicit:
@echo off
cd /d C:\asa-server\ShooterGame\Binaries\Win64
ArkAscendedServer.exe TheIsland_WP?listen?SessionName=MyHomeServer?ServerPassword=ChangeThisJoinPassword?RCONEnabled=True?RCONPort=27020?ServerAdminPassword=ChangeThisAdminPassword -port=7777 -QueryPort=27015 -WinLiveMaxPlayers=20
- The game port and query port go after the
?options, as-port=and-QueryPort=. - Keep
?ServerAdminPasswordas the last?option. Options placed after it can be swallowed into the password. - RCON stays off unless you set
RCONEnabled=True. Leave it out entirely if you do not use it.
Numbering ports for a second map
Each ASA instance on the same PC needs its own game, peer, query, and RCON ports, and no two instances may overlap. The wiki’s example numbering for several instances on one host is:
| Instance | Game (UDP) | Peer (UDP) | Query (UDP) | RCON (TCP) |
|---|---|---|---|---|
| 1 | 7777 | 7778 | 27015 | 27020 |
| 2 | 7779 | 7780 | 27016 | 27021 |
| 3 | 7781 | 7782 | 27017 | 27022 |
That is why game ports step by two, not one. The peer port sits on game port plus one, so a second server on 7778 would collide with the first server’s peer port.
The wiki also says completely different ports work, with one catch: the Steam browser will not find a server whose query port is above 27020 unless players provide the query port themselves.
A second map’s script changes the map, the session name, and the ports:
@echo off
cd /d C:\asa-server\ShooterGame\Binaries\Win64
ArkAscendedServer.exe ScorchedEarth_WP?listen?SessionName=MyHomeServer-Scorched?ServerPassword=ChangeThisJoinPassword?RCONEnabled=True?RCONPort=27021?ServerAdminPassword=ChangeThisAdminPassword -port=7779 -QueryPort=27016 -WinLiveMaxPlayers=20
If you want the maps to share characters and tames, that is a cluster. See How to Set Up an ARK Cluster (Multiple Maps) on One Home PC.
Windows Firewall rules
In an Administrator PowerShell window, one rule per instance covers its UDP ports:
New-NetFirewallRule -DisplayName "ASA map 1 (UDP)" -Direction Inbound -Protocol UDP -LocalPort 7777,7778,27015 -Action Allow
New-NetFirewallRule -DisplayName "ASA map 2 (UDP)" -Direction Inbound -Protocol UDP -LocalPort 7779,7780,27016 -Action Allow
If you use RCON from another PC on your home network, allow it for the local subnet only:
New-NetFirewallRule -DisplayName "ASA RCON (LAN only)" -Direction Inbound -Protocol TCP -LocalPort 27020 -RemoteAddress LocalSubnet -Action Allow
On the router, forward only the UDP ports you decided on to the server PC’s reserved LAN address. The wiki also notes that the dedicated server does not support UPnP or other automatic port forwarding, so you have to forward by hand. Rules for forwarding on a typical router are in How to Port-Forward a Game Server Through a VPN.
A port budget for VPN caps and tight routers
Some VPNs and hosts cap how many ports you can forward. Count forwarded ports only. Do not count RCON, which should stay closed to the internet.
| Setup | Forwarded UDP ports |
|---|---|
| One ASA map, game port only | 1 |
| One ASA map, game + query | 2 |
| One ASA map, game + peer + query | 3 |
| Two ASA maps, game + peer + query each | 6 |
| Two ASA maps plus Palworld (UDP 8211) | 7 |
| Four ASA maps plus Palworld | 13 |
A 15-port cap, such as the one in the VPN guide, still fits four full maps plus Palworld with two ports to spare. Trimming each map to game port plus query port frees a lot of room.
If you also run Palworld on the same PC, see How to Run ARK and Palworld Servers on the Same PC.
Check that the ports really work
-
On the server PC, confirm the server is listening on the ports you set. In PowerShell:
netstat -ano -p UDP | findstr "7777 7778 27015"If a port you expected is missing, the server is not listening where your firewall and router assume.
-
From outside the house. Use a phone on cellular data, or have a friend try
open YOUR-IP:7777. A second PC on the same Wi-Fi proves nothing about the router. -
For browser discovery, the wiki documents a Steam master-server check: open
https://api.steampowered.com/ISteamApps/GetServersAtAddress/v0001?addr=YOUR-PUBLIC-IPin a browser. A listed server means Steam can see the game and query ports. That wiki example shows an older ARK app ID, so treat the result as a hint, not a verdict.
Common mistakes
- Using
?Port=7779on a second map. ASA ignores it and the second server tries to use the default 7777. Use-port=. - Overlapping peer ports. A second server on 7778 collides with the first. Step game ports by two.
- Forwarding RCON. TCP 27020 is a remote admin console behind one password. Keep it on your own network.
- Forwarding a port but not allowing it in Windows Firewall, or the other way around.
- Testing from inside the house. It can pass even when nothing is reachable from the internet.
- Being behind CGNAT. If your router’s WAN address is a private or shared one, no forward will work. The VPN guide covers the options.