
Checklist for Debugging 502 Bad Gateway in Command Prompt
You're working on a web app or API, and you get a 502 Bad Gateway error. The browser just says '5...

You're working on a web app or API, and you get a 502 Bad Gateway error. The browser just says '5...

When you see a DNS error in Command Prompt—like “DNS request timed out” or “could not find host”—...

If Chrome shows a DNS error like "DNS_PROBE_FINISHED_NXDOMAIN" or "ERR_NAME_NOT_RESOLVED" on ever...

You're trying to connect to a remote PC via Remote Desktop (RDP) and you get a "timed out" error....

You run nginx -t and get upstream host not found. The config test fails...

You notice your PC slows down during file sync operations—OneDrive, Dropbox, or local sync tools—...