Port 27015: Steam / Source games

Port 27015 (TCP/UDP) is used by Steam / Source games. Source-engine game servers such as Counter-Strike (unofficial use).

27015Port
TCP/UDPProtocol
—IANA service name
GamesCategory

Port range

27015 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 27015 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 27015 in a firewall

ufw         sudo ufw allow 27015/tcp
            sudo ufw allow 27015/udp
iptables    sudo iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
            sudo iptables -A INPUT -p udp --dport 27015 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=27015/tcp
            sudo firewall-cmd --permanent --add-port=27015/udp
Windows     New-NetFirewallRule -DisplayName "Steam / Source games 27015" -Direction Inbound -Protocol TCP -LocalPort 27015 -Action Allow

Check if port 27015 is open

nc -vz example.com 27015
Test-NetConnection example.com -Port 27015   # PowerShell
sudo ss -tulpn | grep ':27015 '   # what is listening locally (Linux)

Other games ports

Frequently asked questions

What is port 27015 used for?
Steam / Source games. Source-engine game servers such as Counter-Strike (unofficial use).
Is port 27015 TCP or UDP?
Both are assigned. Check which one your software actually listens on.