ntpdate 报错:no server suitable for synchronization found
使用 -d debug 发现无报错
通过 man ntpdate 查到
-u Direct ntpdate to use an unprivileged port for outgoing packets. This is most useful when behind a fire‐wall that blocks incoming traffic to privileged ports, and you want to synchronize with hosts beyond the firewall. Note that the -d option always uses unprivileged ports.
实际上-d 隐藏使用了-u 所以没报错。
坑人!
加上-u就可以了 之前不行应该是有端口限制
ntpdate -u ntp1.aliyun.com
09-08
869
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)