HTTPfy

Port 5725 (ms-ilm)

IANA assigns port 5725 to ms-ilm: Microsoft Identity Lifecycle Manager.

Registered (user) port, 1024-49151 TCP

IANA assignment

Service nameProtoDescriptionAssigneeReference
ms-ilm TCP Microsoft Identity Lifecycle Manager Rob Ward -

Check what is listening on port 5725

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

Test it from outside

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

Block port 5725 in the firewall

ufw
sudo ufw deny 5725/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 5725 -j DROP
nftables
sudo nft add rule inet filter input tcp dport 5725 drop
Windows Firewall
New-NetFirewallRule -DisplayName 'Block TCP 5725' -Direction Inbound -Protocol TCP -LocalPort 5725 -Action Block

Related ports

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