Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

ntpdate command seems to ignore http_proxy ...

share|improve this question

migrated from stackoverflow.com Nov 19 '09 at 1:21

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 4 down vote accepted

ntpdate uses NTP protocol, not HTTP.

NTP uses UDP on port 123 as its transport layer, while http uses TCP port (80 by default)

From ntpdate man page:

ntpdate sets the local date and time by polling the
Network Time Protocol (NTP) server(s) given as the server arguments
to determine the correct time.

These are totally unrelated protocols. See wikipedia for a deeper explanation of Network Time Protocol

share|improve this answer

Try HTTP Time Protocol.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.