@scottalanmiller said in Introduction to IP - CompTIA Network+ N10-007 Prof Messer:
Humans do tend to get confused a bit on ports. Here are some things why...
- TCP and UDP have the same port ranges but are different protocols and TCP ports are unrelated to UDP ports. So TCP Port 22 can be doing one thing and UDP port 22 something totally different.
- Ports under 1024 are traditionally designated by the operating system as protected and require admin level to open. Ports at 1024 or higher can be opened by anyone. But that is an operating system thing, not a networking thing. But important to know.
- TCP and UDP are not the only protocols and not every situation has a port. ICMP doesn't use TCP or UDP and does not use ports at all, for example.
- TCP is connection based, UDP is connectionless. So people often get confused with UDP because you can't "open a connection" to see if it is working. Even people with 20 years of experience forget this constantly and fail to troubleshoot.
I'll tell you a UDP joke, but I'm not sure you'd get it.
Might tell you another UDP joke, but I'm not sure you'd get that either.
But then, I'll tell you a TCP joke, and I know you'll get that one.