Port 5672 — AMQP / RabbitMQ
TCP registered
What runs on port 5672
Message broker protocol.
Security considerations
The default guest/guest account only works from localhost, but people disable that. Do not.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :5672
sudo ss -lntp | grep :5672
# Windows
netstat -ano | findstr :5672
Get-NetTCPConnection -LocalPort 5672
# is it reachable from outside?
nc -zv example.com 5672
curl -v telnet://example.com:5672
Freeing the port
# find the process, then stop it
sudo lsof -ti :5672 | xargs kill # Linux / macOS
netstat -ano | findstr :5672 # note the PID, then:
taskkill /PID <pid> /F # Windows