Network Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3073
Answer
Windows Networking Troubleshooting is the evidence-first method for isolating a Windows endpoint connectivity failure across adapter/link, IP configuration, route selection, neighbor resolution, DNS/address-family choice, filtering, transport and remote service boundaries.
Remember
- Define one failing flow: source, destination, address family, protocol and port.
- Name resolution, IP forwarding and application service are separate chains.
- A successful ping proves only the tested ICMP path, not TCP/UDP/application success.
- The first failed boundary is more valuable than a long list of random resets.
- Preserve before-state and compare a working flow/host only with matching context.
First checks
Get-NetIPConfiguration— addresses, gateway and DNS per interfaceGet-NetAdapter— adapters, status and link speedGet-NetRoute -AddressFamily IPv4— routes and metricsTest-NetConnection <host> -Port <p>— ping, route and TCP port testipconfig /all— full IP configuration
Commands
netsh winhttp show proxy- Shows the machine-wide WinHTTP proxy used by system services such as Windows Update.
netstat -ano- Lists all TCP and UDP connections and listening ports, with the process ID that owns each one.
Verify in this order
link → IP → gateway → route → DNS → port → application
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
Windows Networking → Network Troubleshooting reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Link | Adapter/media state | only local attachment |
| IP/route | Source and forwarding intent | not path completion |
| Neighbor | First-hop L2 resolution | not gateway forwarding |
| Transport | TCP/UDP behavior | narrows host/service boundary |
| Application | User-visible transaction | requires full dependency chain |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3073