[Mongrel] Cant access ROR site externally using mongrel on shared host

Elijah Wright elw at brandorr.com
Fri Aug 15 17:30:01 EDT 2008


odds are that you need to tell mongrel to listen on 0.0.0.0 rather than
127.0.0.1 ..... (the latter being a really common config for mongrels that
are frontended by something else............)

--elijah


On Fri, Aug 15, 2008 at 5:18 PM, Tam Kbe <lists at ruby-forum.com> wrote:

> Hi,
>
> I have been trying to deploy my Ruby on Rails site using Mongrel on
> Shared host. Mongrel seems to start fine using the command below:
>
> cd /home/linkamed/public_html/mysite
>
> mongrel_rails start  -p 12003 -l
> /home/linkamed/public_html/mysite/log/mongrel.log -c
> /home/linkamed/public_html/mysite/ -e production -d
>
> and If I type something like this on the server:
>
> curl http://localhost:12003/users
>
> I get an HTML code output that resembles what should be displayed which
> means that Mongrel is working fine.
>
> I just couldn't figure out how to access it externally!!
>
> I tried www.mysite.com:12003/users - www.mysite.com/12003/users -
> www.mysite.com/mysite/users
>
> Is there a rule or configuration I have to do for this to work?
>
> Thanks in Advance,
>
> Tam
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20080815/4be49a9c/attachment.html>


More information about the Mongrel-users mailing list