Home Net Guide

Home / Port numbers / Port 123

Port 123: NTP

Keeping clocks set to the correct time. Port 123 uses UDP.

Port
123
Commonly used for
NTP
Transport
UDP
Encrypted
No
Range
System (well-known) port, 0 to 1023
Our advice
Open it only if you need it, and secure the service first
IANA registration
ntp Network Time Protocol (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 123 is used for

Port 123 is the Network Time Protocol. Computers, phones and routers use it to keep their clocks correct to within milliseconds by asking time servers. Accurate time matters more than it seems: certificate checks, sign-in tokens and log files all depend on it.

Should port 123 be open?

Devices only need to make outgoing requests, so nothing has to be opened at home. Badly configured NTP servers were behind some of the largest denial-of-service attacks of 2014, when a diagnostic command (monlist) let a tiny request trigger a huge reply to a forged address. Run a public time server only with current software and that feature off.

Related ports

  • Port 53 (DNS): turning names such as example.org into IP addresses
  • Port 161 (SNMP): reading status and settings from network equipment

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 119 (NNTP) · Next: Port 135 (Microsoft RPC endpoint mapper)