Skip to main content

Networking Introduction

Networking basics matter in DevOps because almost every system depends on moving data between services, hosts, and users. The goal is not to memorize everything at once, but to understand the main concepts well enough to reason about how applications communicate.

OSI Layer

OSI

TCP

TCP is a connection-oriented protocol. It establishes a connection before sending data, which makes it a good fit when reliability matters more than raw speed. Common examples include web traffic, email, and file transfers.

UDP

UDP is not connection-oriented. It sends data without waiting for connection confirmation from the receiver. Some packets may be lost, but UDP is useful when low latency matters more than perfect delivery, such as in voice, video, or gaming traffic.

Ports

A port is a logical endpoint used by applications to send and receive network traffic. Ports allow multiple services to communicate on the same machine without getting mixed together.

Tcp port

Port NumberProcessUses
80HTTP
443HTTPS
3306MySQL

To check which ports the system is using:

netstat -a -b

URL (Uniform Resource Locator)

A URL is a unique identifier used to locate a resource on the internet, such as an HTML page, image, or API endpoint.

URL Breakdown

  • A URL often omits the port when the default port is implied. For example, https://google.com usually means port 443.

IP Address

IP Address

IP Address classes

IP Address classes

What's next?