Welcome! Log In Create A New Profile

Advanced

The service is not available. Please try again later.

March 14, 2013 04:19PM
I'm trying to get a Bitnami Rails running with Nginx and Thin.

I've got Thin servers running on:

bitnami@linux:/opt/bitnami$ thin -C projects/ndeavor/current/config/thin.yml start

Starting server on 127.0.0.1:3000 ...

Starting server on 127.0.0.1:3001 ...

Starting server on 127.0.0.1:3002 ...

Starting server on 127.0.0.1:3003 ...

Starting server on 127.0.0.1:3004 ...

I've got Nginx running:

bitnami@linux:/opt/bitnami$ sudo ./ctlscript.sh start nginx
/opt/bitnami/nginx/scripts/ctl.sh : Nginx started

And after I start Nginx, then the thin.3000.log has:


>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 127.0.0.1:3000, CTRL+C to stop

So, I believe that Nginx is connected to the 5 Thin app servers.

I have the nginx.conf listen on port 80

But, when I try to connect using a browser, I get this:

"The service is not available. Please try again later."

It's the same message I get if nginx is not running.

Is something in Ubuntu stopping http port 80 from reaching nginx?
SubjectAuthorPosted

The service is not available. Please try again later.

ReddirtMarch 14, 2013 04:19PM

Re: The service is not available. Please try again later.

ReddirtMarch 14, 2013 04:31PM

Re: The service is not available. Please try again later.

ReddirtMarch 14, 2013 06:03PM

Re: The service is not available. Please try again later.

w.bMarch 15, 2013 08:12AM

Re: The service is not available. Please try again later.

ReddirtMarch 16, 2013 01:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready