One useful email every Monday

New free tools, AI and network threats that matter, and one quick challenge. No spam, unsubscribe in one click.

Questions people ask

What does HTTP 502 mean?

A proxy or load balancer got an invalid response from the server behind it.

What causes a 502 error?

The app crashed, wrong upstream port, upstream closed the connection.

How do I fix 502?

Check the backend is running and listening on the port the proxy expects. Look at proxy and app logs.

Helped you? Share it with your teamXLinkedInWhatsAppReddit
Link to this tool

Found it useful? Paste this into your blog, wiki or runbook.

<a href="https://toolbini.com/net/http-status/502/">HTTP 502 Bad Gateway</a>

Reviewed by the editorial team · Last reviewed 2026-11 · Report an error