What Is Computer Networking

The 5-Layer Network Model

From bottom to top:

  1. Physical Layer – Transmits raw bits via media (cables, fiber, Wi-Fi)
  2. Data Link Layer – Provides reliable local transmission (MAC addressing, Ethernet)
  3. Network Layer – Handles routing and addressing across networks (IP, ICMP)
  4. Transport Layer – Ensures end-to-end communication (TCP, UDP)
  5. Application Layer – Supports user-facing protocols (HTTP, FTP, WebSocket)

Key Protocols:

HTTP: The Foundation of the Web

HTTP vs HTTPS

Feature HTTP HTTPS
Encryption No (plain text) Yes (via TLS/SSL)
Default Port 80 443
Security Vulnerable to attacks Protects against MITM, sniffing

Full Process: How a Browser Loads a Page

  1. User enters https://google.com
  2. Browser uses DNS to resolve domain to an IP address