[ntp:questions] Re: ntpd not listening on port 123

Richard B. Gilbert rgilbert88 at comcast.net
Thu Jan 6 22:20:13 UTC 2005


Supernico wrote:

>Hi,
>
>I have ntpd (4.2.0-a) setup on my gateway server (FreeBSD 5.3) :
>
>$ cat /etc/ntp.conf
>server canon.inria.fr prefer
>server chronos.cru.fr
>
>driftfile /var/db/ntp.drift
>
>restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap
>
>The server synchronisation works great but ntpd is not listening on port 123 :
>$ netstat -an -p tcp | grep LISTEN
>doesn't show me something listening on 123
>$ telnet 192.168.0.1 123
>doesn't work
>
>Did I missed something ?
>
>Thanks
>  
>
Yes, you missed something!!   NTP uses UDP not TCP.  You may have missed 
something else as well since my Solaris system does not show anything 
listening on port 123 either.  My Unix/network skills are not yet good 
enough to explain why not but ntpd is clearly working so I'm not worried 
about it.



More information about the questions mailing list