All ports
Port5672/SCTP
amqpPort
5672
Protocol
SCTP
Category
Registered
Service
amqp
What is port 5672?
Port 5672/SCTP is a Registered port, registered with IANA for specific applications. It is associated with the amqp service.
AMQP
Useful commands
nmapnmap -p 5672 -sV example.comnetcatnc -zv example.com 5672curlcurl -v http://example.com:5672/telnettelnet example.com 5672bash(echo > /dev/sctp/example.com/5672) 2>/dev/nullFirewall commands
UFWAllow
sudo ufw allow 5672/sctpDeny
sudo ufw deny 5672/sctpiptablesAllow
sudo iptables -A INPUT -p sctp --dport 5672 -j ACCEPTDeny
sudo iptables -D INPUT -p sctp --dport 5672 -j ACCEPTfirewalldAllow
sudo firewall-cmd --permanent --add-port=5672/sctpWindowsAllow
netsh advfirewall firewall add rule name="Open Port 5672" dir=in action=allow protocol=SCTP localport=5672Security Risks
- Unauthorized access to the service
- Data exposure if the service is unauthenticated
- Outdated versions with vulnerabilities
- Incorrect service configuration
Frequently Asked Questions
What service runs on port 5672/SCTP?
Port 5672/SCTP is associated with the amqp service. AMQP
Is it safe to expose port 5672 to the Internet?
It depends on the service and configuration. Port 5672 (amqp) is a Registered port. If you need to expose it, keep the service updated, use strong authentication, and configure a firewall. It's always recommended to restrict access by IP when possible.
How do I check if port 5672 is open?
You can use nmap: `nmap -p 5672 -sV example.com`, netcat: `nc -zv example.com 5672`, or the bash command: `(echo > /dev/sctp/example.com/5672) 2>/dev/null && echo "Open" || echo "Closed"`.
How do I open or close port 5672 on my firewall?
On Linux with UFW: `sudo ufw allow 5672/sctp` (open) or `sudo ufw deny 5672/sctp` (close). With iptables: `sudo iptables -A INPUT -p sctp --dport 5672 -j ACCEPT`. On Windows: `netsh advfirewall firewall add rule name="Open Port 5672" dir=in action=allow protocol=SCTP localport=5672`.
What applications and services use port 5672?
Port 5672/SCTP is used by the amqp service. Specific uses depend on the software and configuration. Check our related tools section for more information.