Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • ntpq is showing connection refused

    Posted on

    sbj2drmmnwapf02:~# ntpq -p
    ntpq: read: Connection refused

    sbj2drmmnwapf02:~# cat /etc/ntp.conf
    restrict -4 default kod nomodify notrap nopeer noquery
    restrict -6 default kod nomodify notrap nopeer noquery
    restrict 127.0.0.1
    restrict -6 ::1
    restrict 10.68.226.0 mask 255.255.255.0 nomodify notrap

    driftfile /var/lib/ntp/ntp.drift
    logfile /var/log/ntp.log

    server 127.127.1.0 # local clock

    server 10.68.226.161 iburst prefer

    server 10.84.36.11 iburst prefer

    #server 10.84.36.203 iburst prefer

    Same configuration is working in another server

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat