[Mongrel] Cant access ROR site externally using mongrel on shared host
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............)
On Fri, Aug 15, 2008 at 5:18 PM, Tam Kbe <lists at ruby-forum.com> wrote:
> 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 -
> Is there a rule or configuration I have to do for this to work?
> Thanks in Advance,
> Posted via http://www.ruby-forum.com/.
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mongrel-users