Port No. for Tranmission Control Protocal (TCP) is 6
Port No. for User Datagram Protocol (UDP) is 17
A single port can be configured to listen for UDP or TCP inbound connection requests (or both). Telnet uses TCP. So when you telnet to a specific IP:port, telnet will attempt to make a TCP connection. If there is no TCP listener on the port you specify, then the connection request will be refused. It matters not if you have a UDP listener on the port. Telnet will not be able to establish a connection to a UDP port.
ICMP does not have a port like TCP and UDP.
Port 1151 is used for TCP/UDP
both tcp and udp
* Ports 12000-17000 - UDP * Port 80 and 443 - TCP * Ports 5060 and 5062 - UDP * Ports 3478 and 3479 - UDP * Ports UDP 27901:27999 * Ports TCP 10001 * Ports TCP 47600:48000
TCP port numbers, as well as UDP port numbers, are 2-byte numbers, therefore, the range is from 0 to 65535.
139 & 445 (udp) and 138 & 137 (tcp)
What a client application usually selects for a TCP or UDP source port number is a random value. The value selected is generally in the range of the registered ports.
source and destination port
UDP
**The TCP transport layer protocol uses windowing and acknowledgments for reliable transfer of data. **The TCP and UDP port numbers are used by application layer protocols. **The TCP transport layer protocol provides services to direct the data packets to their destination hosts.
IMAP (Internet Message Access Protocol) uses TCP (Transmission Control Protocol) for communication. The standard port for IMAP is 143, while the secure version, IMAPS, typically uses port 993. Unlike UDP, TCP provides a reliable connection, ensuring that messages are delivered in the correct order without loss.