Service 如果作为服务运行,则无法访问NTP远程服务器

Service 如果作为服务运行,则无法访问NTP远程服务器,service,embedded-linux,ntp,Service,Embedded Linux,Ntp,我有一个运行在RPI3B+上的NTP服务器, 如果我将其作为服务运行,则无法连接到远程服务器: 几个小时后也没有连接: 而是直接运行此命令: sudo ntpd -u ntp:ntp 它立即运行: 这是ntp.conf driftfile /etc/ntp/drift logfile /var/log/ntp.log statistics loopstats peerstats clockstats statsdir /var/log/ntpstats/

我有一个运行在RPI3B+上的NTP服务器, 如果我将其作为服务运行,则无法连接到远程服务器:

几个小时后也没有连接:

而是直接运行此命令:

sudo ntpd -u ntp:ntp
它立即运行:

这是ntp.conf

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

statistics loopstats peerstats clockstats
statsdir /var/log/ntpstats/

                                         
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server 0.it.pool.ntp.org iburst
server 1.it.pool.ntp.org iburst
server 2.it.pool.ntp.org iburst
server 3.it.pool.ntp.org iburst
                              

restrict -4 default kod notrap nomodify nopeer noquery limited
restrict -6 default kod notrap nomodify nopeer noquery limited
                                                    

# Restrict eth0 ip
restrict 127.0.0.1
restrict ::1

restrict source notrap nomodify noquery
知道问题出在哪里吗