Port 123 (NTP) — What It Is and How to Use It
Port 123 is the standard port for the Network Time Protocol (NTP). NTP is a networking protocol used for clock synchronization between computer systems over packet-switched, variable-latency data networks, ensuring accurate timekeeping across devices.
Gear Up: Mechanical Keyboards for Developers
Reduce fatigue and type faster with premium mechanical keyboards. Check out top picks for software engineers.
Common Use Cases
- Synchronizing clocks on servers and workstations
- Maintaining accurate timestamps for logs and security events
- Coordinating distributed systems and applications
Interactive Command Builder
nc -zv example.com 123
Check if Port 123 is Open
sudo netstat -tulnp | grep :123
Get-NetTCPConnection | Where-Object {$_.LocalPort -eq 123}
Related Ports
Frequently Asked Questions
Is port 123 dangerous to leave open?
Leaving port 123 open is necessary for NTP to function, but it can be a security risk if the NTP server is not properly configured and maintained. Vulnerable NTP servers can be exploited for amplification attacks or to manipulate time, leading to various security issues. Regularly update your NTP software and restrict access where possible.
What service uses port 123?
The Network Time Protocol (NTP) service uses port 123 for both UDP and TCP, although UDP is the more commonly used transport protocol.