
What this course covers, how it's organized around one simple story (typing a URL and pressing Enter), and how to get the most out of it.
A network is just devices that are connected and agree on how to talk. See what that means, and why big messages travel as small packets.
Follow one web request from start to finish: DNS, the connection, TLS, HTTP, the routers in between and the response. Every later section zooms into one step of this trip.
Get the tools used in this course ready on Mac, Linux or Windows: a terminal, curl, dig and Wireshark. On Windows, you'll use Ubuntu on WSL.
Networking is a big problem split into small jobs. See why we use layers, and how each layer only cares about its own job.
The four layers you use every day: link, internet, transport and application. Learn what each one does and which protocols live there.
The seven-layer OSI model, how it maps onto TCP/IP, and what people mean by terms like "Layer 4 load balancer" or "Layer 7".
How each layer wraps your data in its own header, like envelopes inside envelopes, and how the other side opens them in reverse order.
Look inside one real packet, captured from a real request, and find every layer you just learned about, one header at a time.
Cables, Wi-Fi and signals: the physical layer turns bits into signals and back. That's all it does, and here's why that matters.
Every network card has a MAC address, like a name tag. Learn how to read one and how to find yours.
The parts of an Ethernet frame: destination, source, type and data. See how a frame carries a packet across one local network.
How a switch learns which device sits on which port, using its MAC table, and why that makes it smarter than an old hub.
Your laptop knows an IP address but needs a MAC address. See how ARP asks the whole network, gets one answer, and remembers it.
Wi-Fi access points, hubs, switches and routers: which one works at which layer, and what the box at home actually is.
A MAC address says who you are; an IP address says where you are. Learn why we need both.
Read an IPv4 address as four octets, and convert one octet between decimal and binary with a simple method, without fear.
Spot the private ranges (10.x, 172.16 to 172.31, 192.168.x) and understand why your laptop's address isn't what the internet sees.
What /24 really means: the network part, the host part, and how the slash number draws the line between them.
Split a /24 network into smaller subnets with a simple visual method, step by step, and see how many hosts each one holds.
Use the subnet mask to check whether two IP addresses are on the same network, and know what happens when they aren't. The subnetting practice sheet is attached.
How your laptop gets an IP address by itself: the four DHCP steps, and what the DHCP server hands out besides the address.
Why IPv6 exists, how to read a long IPv6 address, and the rules for shortening it.
Find your own IP address, subnet mask and default gateway on macOS, Linux and Windows, and read what each command shows.
Why traffic for any other network goes to your router, the default gateway, and how your laptop decides what is local.
Read a simple routing table and follow a packet's path, one router at a time. No router knows the whole way.
A simple picture of how the internet is joined together: internet providers, autonomous systems, and BGP, the protocol they use to share routes.
Every packet carries a ticket with a limited number of stops. Learn how TTL stops packets from looping forever, and what happens when it runs out.
Use ping, read its output line by line, and understand what it can and can't tell you when a server doesn't answer.
Use traceroute to see every stop between you and a server, read its output, and understand why some lines show stars.
How many devices at home share one public IP address, how NAT keeps track of every connection, and why nobody on the internet can reach your laptop directly.
Ports decide which app gets the data. Learn well-known ports and what "listening on port 3000" really means.
What your code opens when it talks to the network: a socket. Watch a tiny server and client talk, and find the socket with ss.
UDP is fast and simple, but makes no promises. See what it does, what it doesn't do, and where it's used.
SYN, SYN-ACK, ACK: the three-way handshake that starts every TCP connection, and why both sides need it.
How TCP uses sequence numbers and acknowledgements to find lost data and send it again, so your bytes arrive complete and in order.
Why TCP slows down and speeds up: flow control protects the receiver, congestion control protects the network. No math needed.
The difference between a clean close (FIN) and a reset (RST), and what TIME_WAIT is doing on your server.
TCP or UDP? A simple way to pick the right one for a use case, with real examples.
Follow one real TCP connection in a capture, from the handshake through the data to the close.
Why we use names instead of IP addresses, and what DNS does for you every time you open a site.
Root servers, top-level domains and authoritative servers: who is in charge of which part of a name.
Follow a full lookup through your resolver, the root, the TLD server and the authoritative server, until the name becomes an IP address.
A, AAAA, CNAME, MX, TXT and NS: what each common DNS record is for, with real examples.
Why DNS changes "take time": caching at every level, and how the TTL decides how long an old answer lives.
Use dig to query records, follow the chain with +trace and ask a specific DNS server. nslookup is covered too.
How the hosts file overrides DNS on your own machine, when that's useful, and when it causes confusing bugs.
The DNS problems developers hit all the time, like old cached answers and wrong records, and how to spot each one quickly.
HTTP is plain text messages over a connection: a request goes out, a response comes back. See what's inside each one.
GET, POST, PUT and DELETE, the status code families from 200 to 500, and the headers you'll meet every day.
Use curl -v and curl -I to see exactly what your client sends and what the server answers.
HTTP forgets you after every request. See how cookies and sessions keep you logged in anyway.
Why opening a new connection for every request is slow, and how keep-alive reuses one connection.
HTTP/2 sends many requests at once over one connection. Learn how multiplexing works and why it's faster.
Why HTTP/3 moved from TCP to UDP, and what QUIC does to make that safe and fast.
When a normal request isn't enough: how the WebSocket upgrade works, and when to use long-lived connections.
See a password travel in plain text inside a capture, using a local test server, and why anyone on the path could read it.
Symmetric and asymmetric encryption, one key or two keys, explained simply, and why HTTPS uses both.
How a certificate proves who a site is, and the chain of trust from the website up to a root certificate authority.
Follow a TLS 1.3 handshake step by step, and see where the shared keys come from.
Read a real certificate with openssl and in the browser: who issued it, when it expires, and which names it covers.
Expired, wrong-name and untrusted certificates: what each error really means and how to fix it.
The difference between a proxy and a reverse proxy, and why a server like Nginx usually sits in front of your app.
Layer 4 and Layer 7 load balancers, health checks and sticky sessions, and how to choose between them.
How CDNs serve content from edge servers close to users, how their caching works, and why they make sites fast.
Allow and deny rules, what "stateful" means in simple words, and what's really happening when a port is "blocked".
How a VPN puts you "inside" another network by wrapping your packets in a tunnel.
Follow one request through a real production setup: CDN, load balancer, reverse proxy, app and database.
This course contains the use of artificial intelligence.
Your app can't reach the API. The error says "connection refused". Or "timed out". Or the site works for everyone except you. Most developers guess, restart something, and hope. This course teaches you what is really happening, so you can stop guessing.
Computer Networking for Developers starts from zero and follows one simple story: what happens when you type a URL and press Enter. Each section zooms into one step of that journey, explains it in plain English with clear animations, and then shows it for real with the same tools you use at work.
What makes this course different
Built for developers: every idea is tied to something you meet in your code, your terminal or your cloud console.
Simple, clear English: short sentences and everyday comparisons (a packet is a letter inside envelopes), easy to follow even if English is your second language.
Real output, not slides: ping, dig, curl, nc, ss, openssl and tcpdump run in Docker labs, and real packet captures are shown step by step.
A hands-on capstone: five broken networks in a Docker lab you run yourself, each fixed with one repeatable method.
What you will cover
How the internet works end to end: layers and encapsulation
The local network: MAC addresses, Ethernet, switches and ARP
IP addresses, subnets and CIDR, private and public addresses, IPv6 and DHCP
Routing, ping, traceroute and NAT
TCP, UDP, ports and sockets: handshakes, reliability, timeouts and "connection refused"
DNS from the root down: records, caching and TTL, dig and the hosts file
HTTP: methods, status codes, headers, cookies, keep-alive, HTTP/2, HTTP/3 and WebSockets
HTTPS and TLS: encryption, certificates, the handshake and common certificate errors
Real infrastructure: proxies, load balancers, CDNs, firewalls and VPNs
Docker and cloud networking: bridges, port publishing, localhost vs 0.0.0.0, VPCs, subnets, security groups and Kubernetes
Troubleshooting like a pro: a layer-by-layer checklist, tcpdump, Wireshark filters and timing a slow request
Every section comes with a one-page cheat sheet. You also get quizzes, a subnetting practice sheet, a command reference and a glossary.
By the end, you'll read an error message and know which layer it points to, where to look next, and which tool will prove it. No networking background needed. Just bring your curiosity and a terminal.