One machine, many ports — each a different process.
In this interactive Infrastructure lesson from Stencel Academy you don't just read — you type real commands like ss -tlnp, curl web-01:8080 and watch the machine respond on a live, animated map. It is part of the free How Infrastructure Works course.
Builds on: Names to Addresses.
curl -s web-01 — No port given → 80 is implied. nginx answers the door.ss -tln — Without -p you see the doors but not who's behind them.sudo lsof -i :80 — The other direction: which process owns this port?nc -zv web-01 5432 — Postgres listens on 127.0.0.1 only — invisible from outside.