Skip to content
AdminKit

Is port 123 (NTP) exposed to the internet?

Port 123/UDP runs NTP, the protocol computers use to sync clocks, and an NTP server that answers anyone can be abused to flood a third party with amplified replies; AdminKit's open ports check scans a fixed set of TCP ports today, so confirming UDP/123 exposure still takes one manual command run from outside your own network.

By AdminKit team, Netbase JSC · Updated

What’s listening on 123

NTP (RFC 5905) keeps a device’s clock in sync with a reference time source, and IANA assigns UDP port 123 to it. Routers, NAS boxes, cameras and plenty of general-purpose servers run an NTP daemon so their own logs and certificates have an accurate clock — and depending on configuration, that same daemon can also answer time queries from anyone who can reach it, not just the device’s own clients.

Why an open NTP port is a risk, not just noise

An exposed NTP server’s main risk isn’t someone reading your clock — it’s amplification. An attacker sends a small UDP query with the victim’s IP address spoofed as the source; the server’s reply goes to the spoofed address instead of the real sender, and certain NTP query types historically returned a reply many times larger than the request, turning a handful of small packets into a flood aimed at someone else entirely. Current ntpd releases disable the specific monitoring command most responsible for the largest amplification factor by default, but an old or unpatched install can still have it enabled, and even an ordinary time query response contributes some amplification on a server configured to answer the whole internet rather than a defined set of peers.

How to check it today

AdminKit’s open ports check is a live tool today, but it currently only probes a fixed list of TCP ports — UDP services like NTP on 123 aren’t covered yet, so confirm this one manually. From a machine outside your network (testing from inside will give you the wrong answer), check your own public IP (see My IP for your current address):

nc -u -vz -w 3 203.0.113.5 123

UDP has no handshake, so a lack of response doesn’t always mean the port is closed — for a clearer signal, query it as an actual NTP client from outside your network, for example ntpdate -q 203.0.113.5 or ntpq -c rv 203.0.113.5, and see whether it returns a real time/status reply.

How to fix it

If your device doesn’t need to serve time to other networks, don’t expose NTP to the internet at all — most home routers and IoT devices only need to query outbound to a time source, never accept inbound queries. If you deliberately run an NTP server for others, restrict which clients it answers using your NTP software’s access controls (ntpd’s restrict directive, or the equivalent in chrony), keep the software patched, and disable any legacy monitoring/query commands your version still ships with. Open resolvers are the DNS equivalent of this same misconfiguration — see is your DNS resolver an open resolver for how the same spoofed-source amplification pattern plays out there.

Other exposure checks worth running

If you’re reviewing exposure more broadly: is your DNS resolver an open resolver covers the DNS side of the same amplification risk, how to publish and test MTA-STS covers mail transport security, and how to find a dangling CNAME covers a different, DNS-hygiene kind of exposure. All four sit in AdminKit’s machine protocols and DNS clusters alongside the live tools and glossary terms that back them.

Defensive use only

Every check this page describes is for assets you own or are explicitly authorized to test. Never query, probe, or attempt to connect to a network or device you don’t control — AdminKit’s active checks only ever run against the IP making the request or an asset you’ve verified ownership of. See our Disclaimer and Acceptable Use Policy for the full terms.

This guide is general information, not a security audit of your specific network — see our disclaimer for what AdminKit's guidance does and does not commit to.

Frequently asked questions

What is port 123 actually for?

Port 123/UDP is the IANA-registered port for NTP (Network Time Protocol), which synchronizes a device's clock against a time server. Routers, servers, cameras and other embedded devices frequently run an NTP daemon so their own clock stays accurate, and many also answer time queries for other devices on the network.

Does AdminKit's open ports check cover port 123?

Not yet. AdminKit's open ports check (/tools/port-check/) is live today and scans a fixed list of nine commonly-exposed TCP ports on your own public IP — Telnet (23), RTSP (554), MQTT (1883/8883), Modbus (502), TR-069 (7547) and admin web UIs (80/443/8080) — but NTP runs over UDP on 123, which isn't on that list, so this check doesn't surface it.

How do I check UDP/123 exposure manually today?

From a machine outside your network, run `nc -u -vz -w 3 203.0.113.5 123` against your own public IP (the My IP tool shows your current address). A UDP response or no ICMP port-unreachable error within the timeout suggests something is listening; UDP's connectionless design means this is less definitive than a TCP check, so a dedicated NTP query tool (`ntpdate -q` or `ntpq -c rv`, run against your own address from outside) gives a more reliable answer.

What's the actual risk if NTP is open to the world?

The main risk is NTP amplification: an attacker sends a small, spoofed-source NTP query to an open server, and the server's reply — which can be many times larger than the request — floods whichever address was spoofed as the source, not the attacker. Older ntpd versions with monitoring queries enabled made this worse by returning very large replies to a single small request; current ntpd releases disable that behavior by default, but a server running old, unpatched software can still be exposed.

Want AdminKit to watch this for you?

Free checks tell you the state today. Protective DNS and monitoring tell you when it changes.

Huy Nguyen (David), Founder and CEO of Netbase JSC

Talk to an expert

Huy Nguyen (David), Founder & CEO, Netbase JSC

Ask whether this fix applies to your setup, or get a second pair of eyes on your DNS and mail records.