Port 6667: IRC

Port 6667 (TCP) is used by IRC. The usual plain-text IRC port.

6667Port
TCPProtocol
ircuIANA service name
ChatCategory

Port range

6667 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Only open port 6667 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 6667 in a firewall

ufw         sudo ufw allow 6667/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 6667 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=6667/tcp
Windows     New-NetFirewallRule -DisplayName "IRC 6667" -Direction Inbound -Protocol TCP -LocalPort 6667 -Action Allow

Check if port 6667 is open

nc -vz example.com 6667
Test-NetConnection example.com -Port 6667   # PowerShell
sudo ss -tulpn | grep ':6667 '   # what is listening locally (Linux)

Other chat ports

Frequently asked questions

What is port 6667 used for?
IRC. The usual plain-text IRC port.
Is port 6667 TCP or UDP?
TCP.