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)