nginx/0.8.54 - 502 Bad Gateway

Antoine Bonavita antoine.bonavita at
Thu Jul 21 07:06:57 UTC 2011


First replace

If that doesn't work, look at firewall settings, yes. Port 8080 on the
upstream must be accessible from the machine running nginx (even if
they are the same physical machine).


On Thu, Jul 21, 2011 at 6:40 AM, nginxn00b <nginx-forum at> wrote:
>>>Your backend / application isn't working that's why nginx can't
> connect to it and has to return 502.
> The app is up and running on port 8080. I can access the app directly
> using Do I have to configure something else, maybe the
> firewall?
> Posted at Nginx Forum:,212680,212719#msg-212719
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list