nginx/0.8.54 - 502 Bad Gateway

nginxn00b nginx-forum at
Wed Jul 20 16:18:16 UTC 2011

Access control? Not that I know of. I didn't touch the firewall yet, so
I guess there is none enable right now.

>>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

And I tried from a remote client to connect via curl and got:

curl -I
HTTP/1.1 502 Bad Gateway
Server: nginx/0.8.54
Date: Wed, 20 Jul 2011 16:14:04 GMT
Content-Type: text/html
Content-Length: 172
Connection: keep-alive

Any clue?

Posted at Nginx Forum:,212680,212691#msg-212691

More information about the nginx mailing list