Welcome Guest | Login

Fastcgi works, mongrel does not

I've got my application deployed using fastcgi, and it works fine. I have a static ip address, and can access it using http://<my ip address>

Now I'm following the tutorial to get my app up and running using mongrel. I'm starting with a single mongrel instance (but will eventually use a cluster).

Following the tutorial, I start mongrel using:

mongrel_rails start -e production -p <my port> -d

The logs show no errors:
** Starting Mongrel listening at 0.0.0.0:4008
** Starting Rails with production environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload (without restart).  It might not work well.
** Mongrel 1.1.3 available at 0.0.0.0:<my port>
** Use CTRL-C to stop.
I would expect to be able to access my site via http://<my ip address>:<my port>, but when I do so, the request times out.

Nothing is output to the production.log or mongrel.log, so it appears that the request isn't being routed as I would expect.

Any help would be appreciated.

2008-02-08 04:13 PM

After configuring Mongrel you need to contact support for setting up the Mongel vhost entries.

I've configured Mongrel and the necessary Mongrel vhost entries for your domain. Now the site http://<yourIP> is on Mongrel.

2008-02-08 04:37 PM

Ah, sorry, hadn't understood. I though that step was only required to make apache forward to it, and that I could still ping mongrel directly. Thanks. It works.

2008-02-10 07:14 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.