up vote 0 down vote favorite
share [g+] share [fb]

ntpdate command seems to ignore http_proxy ...

link|improve this question
feedback

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

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

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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