Port 113: Ident

Port 113 (TCP) is used by Ident. Identifies the user of a TCP connection. Some IRC servers still query it.

113Port
TCPProtocol
authIANA service name
Legacy protocolsCategory

Port range

113 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Port 113 should not be reachable from the public internet. Restrict it to trusted networks or a VPN, and scan your public IP to confirm it is closed.

Open port 113 in a firewall

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

Check if port 113 is open

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

Other legacy protocols ports

Frequently asked questions

What is port 113 used for?
Ident. Identifies the user of a TCP connection. Some IRC servers still query it.
Is port 113 TCP or UDP?
TCP.