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 <[EMAIL PROTECTED]> 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@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >
_______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users