IRC (alternate)
What is Port 6662?
Port 6662 is part of the 6660-6669 range used for IRC (Internet Relay Chat) connections. IRC servers accept client connections across this port range to maximize accessibility. This port is less commonly the primary connection port but is available as an alternative when other ports in the range are blocked. IRC's distributed architecture means servers form a network, and clients can connect to any server in the network through any available port. While modern communication has largely moved to platforms like Slack, Discord, and Matrix, IRC's open protocol and federation model continue to serve technical communities.
Common Uses
- IRC server connections
- Alternative IRC connection port
- IRC network load distribution
- Technical community chat
Technical Details
Copy-paste commands to check port 6662 (IRC (alternate)) from your terminal
Test connectivity
nc -zv example.com 6662
curl -v --max-time 5 http://example.com:6662/
telnet example.com 6662
nmap -p 6662 -sV example.com
(echo > /dev/tcp/example.com/6662) 2>/dev/null && echo "open" || echo "closed"
Open port in firewall
sudo ufw allow 6662/tcp
sudo iptables -A INPUT -p tcp --dport 6662 -j ACCEPT
sudo firewall-cmd --permanent --add-port=6662/tcp && sudo firewall-cmd --reload
Security Considerations
Same as other IRC ports — unencrypted by default. Prefer TLS on port 6697. Block if IRC is not needed in your environment.
Popular Ports Reference
The most commonly used and referenced network ports