The TCP/IP model is the foundational framework used for network communication. It defines how data is transmitted between devices over the internet or any network.
It stands for Transmission Control Protocol / Internet Protocol and has four layers:
These layers work together to move data from your computer to any destination on a network.
TCP vs UDP
These are two main protocols at the Transport Layer:
• TCP is used when accuracy matters.
• UDP is used when speed matters more than reliability.
What is a Port Number?
A port is a virtual number that identifies a specific process or service on a device.
When data reaches a device’s IP, the port tells it which application to send the data to.
Example:
• Port 80 → used by HTTP (web traffic)
• Port 22 → used by SSH (remote login)
• Port 443 → used by HTTPS (secure web traffic)
Common Port Numbers (You Should Know)
Why This Matters in DevOps
As a DevOps engineer, you need to:
Open or close ports in firewalls
Troubleshoot services that aren’t responding on expected ports
Configure tools like Jenkins, Docker, or Nginx to run on specific ports
Understand which protocols and ports to allow in cloud security groups (AWS, Azure, GCP)
Summary
The TCP/IP model explains how devices talk to each other across networks, while ports define which services respond to which requests.
Understanding these helps DevOps engineers manage services, configure security rules, and troubleshoot connectivity issues with confidence.