HTTPfy

Port 5868 (diameters)

IANA assigns port 5868 to diameters: Diameter over TLS/TCP.

Registered (user) port, 1024-49151 TCP

IANA assignment

Service nameProtoDescriptionAssigneeReference
diameters TCP Diameter over TLS/TCP IESG RFC 6733
diameters SCTP Diameter over DTLS/SCTP IESG RFC 6733

Check what is listening on port 5868

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

Test it from outside

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

Block port 5868 in the firewall

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

Related ports

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