Not listing proxy_pass port 8009

Miguel C. miguelmclara at gmail.com
Wed Jul 24 00:07:29 UTC 2013


The log tells you much... although has was already said the problem is that something's wrong with whatever should be listening on those ports...

Openerp is one of those and probably is not running or at least it's not listening on the port specified in nginx  configuration...

In any case the problem is not in nginx...  find out what is supposed to be listening on those ports... I doubt you will have problems with nginx after that.



Nikolas Stevenson-Molnar <nik.molnar at consbio.org> wrote:
>"502 Bad Gateway" almost always means something is wrong with the
>upstream server (i.e., Nginx is working fine, whatever it's proxying to
>is having problems) so look for a problem there.
>
>_Nik
>
>On 7/23/2013 4:41 PM, imran_kh wrote:
>> Hello,
>>
>> Thanks for the reply,
>>
>> Actually openerp is also hosted on this server. Is this create “502
>bad
>> gateway” error? Please find the error log and suggest me on this.
>>
>> #openerp-error.log
>> 2013/07/23 18:21:15 [error] 1465#0: *196 connect() failed (111:
>Connection
>> refused) while connecting to upstream, client: 10.10.10.10, server:
>pqr.com,
>> request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8002/", host:
>> "pqr.com"
>>
>> #error.log
>> 2013/07/23 18:21:16 [error] 1465#0: *198 connect() failed (111:
>Connection
>> refused) while connecting to upstream, client: 10.10.10.10, server:
>abc.com,
>> request: "GET / HTTP/1.0", upstream: "http://127.0.0.1:8007/", host:
>> "abc.com"
>>
>> Thanks,
>> Imran Khan.
>>
>> Posted at Nginx Forum:
>http://forum.nginx.org/read.php?2,241157,241168#msg-241168
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>
>_______________________________________________
>nginx mailing list
>nginx at nginx.org
>http://mailman.nginx.org/mailman/listinfo/nginx

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the nginx mailing list