Re: Not listing proxy_pass port 8009

2013-07-24 Thread imran_kh
Hello, Any suggestion or advice? Thanks, Imran Khan. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241157,241207#msg-241207 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Not listing proxy_pass port 8009

2013-07-24 Thread imran_kh
Hello, Thanks for the reply. Yes you are correct. I have tried to change the port from 8080 to 80 in /etc/nginx/conf.d/default.conf. Browse the Public IP address and xyz.com site, getting “no handler found” error. File /etc/nginx/conf.d/default.conf content as follows. # sudo cat default.conf #

Re: Not listing proxy_pass port 8009

2013-07-24 Thread imran_kh
Hello, I have observed that, Nginx configured on port 80 as per /etc/nginx/sites-enabled/default file but it is listening on port 8080 and 80. Please see the details for the same. server { listen 80; server_name example.com; location / { proxy_pass http://localhost:8009; send_timeout 6000; proxy

Re: Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
Hello, Thanks but how can I resolve the error “502 bad gateway” for IP Address? Getting this error while browsing site using IP Address. Thanks. Imran khan, Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241157,241177#msg-241177 ___ nginx m

Re: Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
Hello, Correct. So how should I resolve this issue? Thanks, Imran Khan. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241157,241175#msg-241175 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
Hello, Thanks for the prompt reply. I have scanned the listing ports in the servers. Please help me out to fix this issue. I never worked on Nginx server and am totally stuck. # sudo nmap localhost Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-23 20:15 EDT Nmap scan report for localhost (12

Re: Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
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 upstre

Re: Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
Hello, Thanks for the reply. I have never worked on Nginx server. So please help me to resolve the issue. File /etc/nginx/nginx.conf content are as follow. user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 768; # multi_accept on; } http {

Re: Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
Hello, Thanks for the reply but when I am browsing example.com or using ip address getting error " 502 bad gateway". Please suggest me on this.. Thanks, Imran Khan. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241157,241160#msg-241160 __

Not listing proxy_pass port 8009

2013-07-23 Thread imran_kh
Hello, I am using Nginx web server and getting error “502 bad gateway” while accessing some sites. I have observed that, proxy_pass port is not listing in the server. e.g.:- In above configuration example.com is running on port 80 and proxy_pass localhost is running on port 8009. Port 80 is listi