13Port
TCP/UDPProtocol
daytimeIANA service nameLegacy protocolsCategory
Port range
13 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 13 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 13 in a firewall
ufw sudo ufw allow 13/tcp
sudo ufw allow 13/udp
iptables sudo iptables -A INPUT -p tcp --dport 13 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 13 -j ACCEPT
firewalld sudo firewall-cmd --permanent --add-port=13/tcp
sudo firewall-cmd --permanent --add-port=13/udp
Windows New-NetFirewallRule -DisplayName "Daytime 13" -Direction Inbound -Protocol TCP -LocalPort 13 -Action Allow
Check if port 13 is open
nc -vz example.com 13 Test-NetConnection example.com -Port 13 # PowerShell sudo ss -tulpn | grep ':13 ' # what is listening locally (Linux)