How to test an NTP port

Updated July 19, 2017

Network Time Protocol servers provide network users with updated system time values. This keeps all network computers synchronised with a central server. This is beneficial for network administrators who need to schedule backups, application processes, or other network services dependent on the client computer's system time. The NTP port is the "opening" where the server's NTP service runs. You test the NTP service by querying the server and resynchronizing your system time.

Right-click your system clock located in the Windows task bar. Select "Adjust Date/Time" to open the time configuration window. Change the time in the configuration window. This time is changed to the correct value after you test the NTP port settings.

Click the Windows "Start" button and enter "cmd" (no quotes) into the Windows search text box. Press "Enter" to open the command line.

Enter "net time /querysntp" (no quotes) and press "Enter." This displays the NTP server configured on your machine. This ensures your Windows registry is properly configured with the server name.

Enter "w32tm /resync" (no quotes) into the command prompt. Press "Enter." This tests the NTP port. The system time updates to the correct value hosted by your NTP server.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Jim Campbell has been a computer engineer for over five years. He excels in hardware repair, computer programming and troubleshooting, and software design. He is currently attending Florida Atlantic University, pursuing a master's degree in computer and electrical engineering and fine-tuning his technical writing abilities.