0

I use Apache 2.4 as web server. When it exceeds max connections limit, what response code the client receives from the web server?

1 Answer 1

1

Apache throws 504 status code response to client.

504 GATEWAY TIMEOUT

The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.

Sign up to request clarification or add additional context in comments.

3 Comments

Thanks Nitin. I receive status code 502 when my requests are not able to hit Apache. What could be the possible cause of getting 502?
provide the complete message with status code, timeout or proxy
I receive below 502 errors on proxy server: 1. "upstream prematurely closed connection while reading response header from upstream," 2. "upstream timed out (110: Connection timed out) while connecting to upstream"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.