TCPRegistered PortFirewall: Usually Closed
6662

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

Port Number6662
ProtocolTCP
CategoryRegistered
Service NameIRC (alternate)
Default FirewallUsually Closed
Port Test Commands

Copy-paste commands to check port 6662 (IRC (alternate)) from your terminal

Test connectivity

Netcat (nc)Check if TCP port is reachable
nc -zv example.com 6662
curl (HTTP)Test HTTP response on this port
curl -v --max-time 5 http://example.com:6662/
TelnetBasic TCP port connectivity check
telnet example.com 6662
nmapScan port 6662 with service detection
nmap -p 6662 -sV example.com
Bash /dev/tcpPure bash TCP check (no extra tools needed)
(echo > /dev/tcp/example.com/6662) 2>/dev/null && echo "open" || echo "closed"

Open port in firewall

UFW (Ubuntu / Debian)
sudo ufw allow 6662/tcp
iptables
sudo iptables -A INPUT -p tcp --dport 6662 -j ACCEPT
firewalld (RHEL / CentOS)
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

Related Ports