connect() failed (111: Connection refused) while connecting to upstream

Jonathan Matthews contact at jpluscplusm.com
Mon Dec 3 20:18:51 UTC 2012


On 3 December 2012 20:08, Gallitin <nginx-forum at nginx.us> wrote:
> Can't figure out why I keep getting 502 bad gateway nginx error. Here is the
> error from nginx error log.
>
> 2012/12/03 19:30:21 [error] 20650#0: *939328 connect() failed (111:
> Connection refused) while connecting to upstream, client: 70.94.18.35,
> server: demo.domain.com, request: "GET /assets/js/msgFBmodal.js HTTP/1.1",
> upstream: "http://108.166.94.94:7080/assets/js/msgFBmodal.js", host:
> "demo.domain.com", referrer: "http://demo.domain.com/register/user_profile"

The error message of "Connection refused" would seem to be pretty
self-explanatory ... :-)
What about it is surprising you?

J
-- 
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html



More information about the nginx mailing list