Port 37: Time Protocol

Port 37 (TCP/UDP) is used by Time Protocol. Returns time as a 32-bit number of seconds since 1900. Superseded by NTP.

37Port
TCP/UDPProtocol
timeIANA service name
Legacy protocolsCategory

Port range

37 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 37 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 37 in a firewall

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

Check if port 37 is open

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

Other legacy protocols ports

Frequently asked questions

What is port 37 used for?
Time Protocol. Returns time as a 32-bit number of seconds since 1900. Superseded by NTP.
Is port 37 TCP or UDP?
Both are assigned. Check which one your software actually listens on.