← Port Encyclopedia
4
Port-4
TCP
System
Low Risk
Reserved or unassigned port 4 — may appear in network scans as open, closed, or filtered
🔍 How to Scan Port 4
nmap -sV -p 4 target
nmap -sV -sC --script=banner -p 4 target
nc -zv target 4
🛡️ Security Considerations
- Scan port 4 with
nmap -sVto identify the exact service and version - If Port-4 is not needed, close or firewall this port immediately
- Check for default credentials if a management interface runs on this port
- Use
searchsploit port-4to find known exploits - Monitor traffic on port 4 with Wireshark or tcpdump for anomalies
- Ensure the service is patched to the latest version to prevent known CVE exploitation