HTTPfy

Port 25672 (RabbitMQ inter-node / CLI)

Erlang distribution port used by RabbitMQ nodes and CLI tools (AMQP port + 20000).

Registered (user) port, 1024-49151 TCP Message queues Do not expose to the internet

What port 25672 is used for

Erlang distribution port used by RabbitMQ nodes and CLI tools (AMQP port + 20000).

Security: should port 25672 be open?

Do not expose to the internet. Cluster members only; same Erlang cookie risk as 4369.

IANA assignment

Port 25672 is in the registered range and has no IANA assignment. The usage above is unofficial but widespread.

Check what is listening on port 25672

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

Test it from outside

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

Block port 25672 in the firewall

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

Related ports

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