On 10/4/06, bradphelan <bradphelan / gmail.com> wrote:
> I just installed Typo 4 on my Ubuntu box. I run
>
> >> typo install foo
> Starting Typo on port 4821
>
> I then try
> >> wget http://127.0.0.1:4821
>
> but no connection is made. Same problem in firefox. No connection.
>
> The mongrel log is
> ** Starting Mongrel listening at 0.0.0.0:4821
> ** 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 available at 0.0.0.0:4821
> ** Writing PID file to
> /usr/home/brad/projects/ruby/typo/foo/tmp/pid.txt
>
>
> Strange IP address 0.0.0.0 ???? Is that correct?
>
> typo has started mongrel as
>
> 10085 ?        Rl     0:01 /usr/local/bin/ruby
> /usr/local/bin/mongrel_rails start
> /usr/home/brad/projects/ruby/typo/foo -d false -e production -P
> /usr/home/brad/projects/ruby/typo/foo/tmp/pid.txt -p 4821
>
> Does anybody have an idea what is up here?

just a 'generic' hints:

0.0.0.0 means 'any' or 'all' addresses, i.e. if your box has two
addresses, mongrel will listen on both

try netstat -an to see whether it really listens on the port