Re: "Connection Refused" with nginx as reverse proxy

2016-02-01 Thread Francis Daly
On Mon, Feb 01, 2016 at 04:24:20PM +, Radha Venkatesh (radvenka) wrote: Hi there, > And I issued the curl command like this, but I still see this error > > curl -v http://128.107.138.162:8080/rhesos-server/rhesos/api/v1/ping > > * About to connect() to 128.107.138.162 port 8080 (#0) > * T

Re: "Connection Refused" with nginx as reverse proxy

2016-02-01 Thread Radha Venkatesh (radvenka)
Francis, Thank you for pointing out the discrepency in the ip address. I have fixed that and the netstat out looks like this netstat -anp | grep 8080 tcp0 0 128.107.138.162:80800.0.0.0:* LISTEN And I issued the curl command like this, but I still see this erro

Re: "Connection Refused" with nginx as reverse proxy

2016-02-01 Thread Francis Daly
On Mon, Feb 01, 2016 at 01:00:04AM +, Radha Venkatesh (radvenka) wrote: Hi there, > server { > listen 127.107.138.162:8080; > However, when I use the curl command to send a request using the proxy like > this, I see a "Connection Refused" > > > curl -v -x 'http://:@128.107.138

"Connection Refused" with nginx as reverse proxy

2016-01-31 Thread Radha Venkatesh (radvenka)
I have set up nginx as a reverse proxy with this configuration worker_processes 1; pid /run/nginx.pid; events { worker_connections 4096; } http { include/etc/nginx/default.d/proxy.conf; default_type application/octet-stream; sendfile on; tcp_nopush on;