netstat lists a host's network connections, listening ports and routing table. On Linux, ss is the faster modern replacement.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | What it lists | Windows server | CDN · 443 | DATA | updates over 443 |
| 2 | What it lists | admin laptop | Windows server | REQUEST | RDP :3389 |
netstat lists a host's network connections, listening ports and routing table. On Linux, ss is the faster modern replacement.
netstat -ano shows every connection with its owning process ID.ss -tulpn shows TCP and UDP listeners with process names.LISTEN, ESTABLISHED, TIME_WAIT, SYN_SENT.