1

ntpdate command seems to ignore http_proxy ...

0

2 Answers 2

5

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

0

Try HTTP Time Protocol.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .