Is it possible to get ntpdate working behind a proxy?

6,428

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:
6,428

Related videos on Youtube

Benoît Guérout
Author by

Benoît Guérout

Updated on September 17, 2022

Comments

  • Benoît Guérout
    Benoît Guérout over 1 year

    ntpdate command seems to ignore http_proxy ...