Port reference
Port 194 (TCP) – IRC (Internet Relay Chat)
Real-time text chat protocol organizing users into channels on relay servers.
Quick facts
- Transport
- tcp
- Category
- Well-known
- Risk level
- High
Frequently targeted — restrict exposure and harden it.
Default state
Rarely used on 194 today; most IRC runs on 6667 (plaintext) or 6697 (TLS). Cleartext unless TLS is enabled.
What is port 194 used for?
Port 194 is the original registered port for IRC, the Internet Relay Chat protocol that organizes users into channels on servers for real-time group text chat. Clients like HexChat, mIRC, and irssi connect to server software such as InspIRCd or UnrealIRCd. In practice almost everyone uses 6667 (plaintext) or 6697 (TLS) today, but 194 is the original assignment. Plain IRC sends messages and logins in cleartext unless TLS is enabled.
When would you open it?
You'd open an IRC port only if you host your own IRC server and want people to connect. Because 194 is rarely used by clients, most operators run on 6667/6697 instead, and prefer the TLS port 6697 so logins and chat are encrypted.
Is it safe to open?
Plain IRC is unencrypted and IRC has a long history of botnet command-and-control abuse, so require TLS and authentication and watch for unexpected outbound IRC traffic. See the security notes below.
How to check if this port is open
ss -tulpn | grep :194
nmap -p 194 <target>netstat -ano | findstr :194
Test-NetConnection <host> -Port 194lsof -i :194
nmap -p 194 <target>How to open this port on your router
To reach this service from outside your network, forward the port on your router:
- Open your router's admin page (usually http://192.168.1.1 or http://192.168.0.1) and sign in.
- Find the "Port Forwarding" section — it may be called NAT, Virtual Server, or Applications & Gaming.
- Add a rule forwarding external port 194 to your device's local IP, internal port 194, protocol TCP.
- Save and reboot the router if prompted, then test the port from outside your network.
Only forward ports you understand — it exposes that device to the public internet. For remote admin access, a VPN is safer than forwarding the port.
Allow this port through the firewall
sudo ufw allow 194/tcpsudo firewall-cmd --permanent --add-port=194/tcp
sudo firewall-cmd --reloadsudo iptables -A INPUT -p tcp --dport 194 -j ACCEPTNew-NetFirewallRule -DisplayName "Allow 194" -Direction Inbound -Protocol TCP -LocalPort 194 -Action AllowSecurity & risks
Common attacks
- Botnet command-and-control over IRC channels
- Cleartext credential and message sniffing
- Channel flooding and IRC-based DDoS coordination
- Probing connecting clients via ident (port 113)
Hardening
- Require TLS (IRC over SSL) and disable plaintext where possible
- Monitor for botnet C2 patterns and suspicious channel activity
- Restrict server linking and require operator authentication
- Rate-limit connections and enforce strong NickServ/SASL auth
How to block this port
sudo ufw deny 194/tcpsudo firewall-cmd --permanent --remove-port=194/tcp
sudo firewall-cmd --reloadsudo iptables -A INPUT -p tcp --dport 194 -j DROPNew-NetFirewallRule -DisplayName "Block 194" -Direction Inbound -Protocol TCP -LocalPort 194 -Action Blocknmap snippet
nmap -p194 --script irc-info,irc-botnet-channels <target>Replace <target> with the host or range you're authorized to scan.
Related ports
Frequently asked questions
- What port does IRC use?
- The registered port is 194, but in practice most IRC servers use 6667 for plaintext and 6697 for TLS. Port 194 is the original well-known assignment.
- Why is IRC associated with malware?
- IRC's lightweight channels made it a popular command-and-control channel for botnets, letting an operator issue commands to many infected hosts at once. Network monitoring often flags IRC C2 patterns.