ntpq connection refused
转自 https://unix.stackexchange.com/questions/345778/why-does-ntpq-pn-report-connection-refused
问题
ntpq -pn 报 connection refused
解决
$ strace ntpq -pn
发现确实走的是ipv6, sin6_addr
指定ipv4 查询即可
$ ntpq -pn -4
$ ntpq -pn 127.0.0.1