nginx/0.8.54 - 502 Bad Gateway

Reinis Rozitis r at
Wed Jul 20 16:26:29 UTC 2011

>>curl -I http://localhost:8080 and see if you can connect.

> I did this on the server and I got:
> curl -I http://localhost:8080
> curl: (7) couldn't connect to host

Your backend / application isn't working that's why nginx can't connect to it and has to return 502.


More information about the nginx mailing list