tballah
asked on
When UDP is used for NTP service and when TCP is used for NTP service?
I check from /etc/services and I find that there are 2 lines for ntp services:
ntp 123/tcp
ntp 123/udp
I got an answer from EE expert that I cannot telnet to NTP server using port 123 as it is UDP. I wonder when TCP is used for NTP service.
ntp 123/tcp
ntp 123/udp
I got an answer from EE expert that I cannot telnet to NTP server using port 123 as it is UDP. I wonder when TCP is used for NTP service.
example:
port 80 TCP is reserved for HTTPd
It would be confusing if you had port 80 TCP for HTTPd and port 80 UDP running something completely diffrent.
port 80 TCP is reserved for HTTPd
It would be confusing if you had port 80 TCP for HTTPd and port 80 UDP running something completely diffrent.
ASKER
I know a bit from DNS service that it uses port 53/UDP for query and 53/TCP for zone transfer between primary and secondary DNS server. I was thinking the same way for NTP service as defined in /etc/services. By the way who could I know the nature of the service whether it is pure UDP or TCP?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does not mean anything is listening on it.
It would confuse people if you would have different reserved ports for both the TCP and UDP protocols.