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 504 mean?
A proxy waited too long for the server behind it.
What causes a 504 error?
Slow database queries, long-running requests, network problems between proxy and app.
How do I fix 504?
Speed up the slow request or raise the proxy timeout (proxy_read_timeout, idle timeout).
Related tools
- HTTP status codesEvery common status code with causes and fixes, including Cloudflare 52x.
- Port lookupWhat runs on a TCP/UDP port, and whether to expose it.
- Windows event IDsSecurity event IDs explained, with what to alert on.
- Cron expression explainerRead any cron expression in plain English and see the next runs.
- Chmod calculatorLinux file permissions: tick boxes, get 755 or rwxr-xr-x, both ways.
Link to this tool
Found it useful? Paste this into your blog, wiki or runbook.
<a href="https://toolbini.com/net/http-status/504/">HTTP 504 Gateway Timeout</a>Reviewed by the editorial team · Last reviewed 2026-11 · Report an error