HTTPfy

Port 5228 (Google Play / FCM)

Android devices keep a connection to Google on 5228 (5229, 5230 as fallbacks) for Firebase Cloud Messaging push notifications.

Registered (user) port, 1024-49151 TCP Mobile push Meant to face the internet

What port 5228 is used for

Android devices keep a connection to Google on 5228 (5229, 5230 as fallbacks) for Firebase Cloud Messaging push notifications.

Security: should port 5228 be open?

Meant to face the internet. Outbound only. Corporate firewalls that block 5228 delay push notifications on Android.

IANA assignment

Service nameProtoDescriptionAssigneeReference
hpvroom TCP HP Virtual Room Service Scott Levin -

Registry dates for this port: registered 2009-03-19.

Check what is listening on port 5228

Linux: is anything listening on TCP 5228?
sudo ss -tlnp 'sport = :5228'
Linux / macOS: which process owns the port
sudo lsof -nP -i :5228
Older Linux / BSD (net-tools)
sudo netstat -tlnp | grep ':5228 '
Windows (Command Prompt)
netstat -ano | findstr :5228
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 5228 -State Listen | Select LocalAddress,OwningProcess

Test it from outside

From another machine
nc -vz -w 5 HOST 5228
From Windows
Test-NetConnection HOST -Port 5228

Open port 5228 in the firewall

ufw
sudo ufw allow 5228/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 5228 -j ACCEPT
nftables
sudo nft add rule inet filter input tcp dport 5228 accept
Windows Firewall
New-NetFirewallRule -DisplayName 'Allow TCP 5228' -Direction Inbound -Protocol TCP -LocalPort 5228 -Action Allow

Related ports

All port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.