Skip to content
Course

Networking Fundamentals

How a request really reaches a service: addresses and listening sockets, name resolution, HTTP spoken by hand, and the layer-by-layer method for "it is up but nobody can reach it" — on Kestrel's live stack.
  • 4 labs
  • about 2.6 hours
  • Beginner to Intermediate

Labs in this course

  1. 01Addresses & Sockets: Map Kestrel's MachineBeginner · 40 min
  2. 02Name Resolution: Why nginx Can't Find the APIBeginner · 36 min
  3. 03HTTP by Hand: Talking to the Orders APIBeginner · 42 min
  4. 04Up but Unreachable: Troubleshooting Layer by LayerIntermediate · 38 min

What you will be able to do

  • Read an IPv4 address and its prefix with ip addr, and know what the prefix means
  • List listening TCP sockets with ss, and name their owners even when -p shows nothing
  • Read the resolver chain from /etc/nsswitch.conf and /etc/resolv.conf
  • Ask the resolver the way programs do, with getent hosts
  • Read a complete HTTP response — status line, headers, body — with curl -i
  • Pass query-string parameters and read JSON with jq
  • Read a 502 and nginx's connect() failed line as evidence about one specific hop
  • Separate "is it running?" (pgrep) from "where does it listen?" (ss)

How a lab works

Each lab opens a fresh machine beside the instructions. You work in a real terminal; when you finish a task, the platform checks the machine itself and tells you what is still wrong. The machine is disposable and is removed when the timer ends, but your progress is kept.

Lab machines for more practice