Please explain this 502 Bad Gateway error

Aleksandar Lazic al-nginx at none.at
Thu Dec 27 19:30:32 MSK 2007


Hi,

On Don 27.12.2007 20:50, just starting wrote:
>hi,
>
>I am using version 0.5.34.
>
>I am testing nginx as a proxy server + static file server for my test
>site deployed on jetty.
>
>Can you please explain the error mentioned here.
>
>Error Log Entry : [2007/12/27 10:44:07 [error] 2625#0: *7 connect() failed
>(111: Connection refused) while connecting to upstream, client:

Which clearly say:

the connection to 192.168.0.241 on port 8080 with protocol http was not
successful.

What is in the jetty log?
Are you able to reach jetty with curl, curl -v
http://192.168.0.241:8080/ ?
Is a FW between nginx & jetty?

>192.168.0.234, server: localhost, request: "GET
>/KdocProj/dboard.html?_dc=1198726407859 HTTP/1.0", upstream: "
>http://192.168.0.241:8080/KdocProj/dboard.html?_dc=1198726407859", host: "
>192.168.0.241:8000"]

Cheers

Aleks





More information about the nginx mailing list