[Instantrails-users] localhost running application

Bill Froelich wfroelich at dbsnow.com
Mon Jul 7 01:13:38 EDT 2008

What URL are you trying to hit?


If so, then Apache is not involved at all, you are trying to connect directly to mongrel.

Connecting through apache would require you to use www.mycookbook.com since that is what apache is keying off to determine the server to proxy to.

I would also suggest trying it with the firewall disabled.  While it is prompting to allow the connection it may be having unintended consequences ;-)

Hope that helps.  If not, is there another machine you can try it on to try and isolate the problem?


-----Original Message-----
From: instantrails-users-bounces at rubyforge.org on behalf of Mateusz Winiarski
Sent: Sun 7/6/2008 1:42 AM
To: instantrails-users at rubyforge.org
Subject: Re: [Instantrails-users] localhost running application
I've reinstalled InstantRails-2.0-win downloading from instantrails website.
Regenerated configuration

Changed Apache port to 81 (in config file) - there is another app on port

Turned off proxy.

Run: cookbook on 3001 (waiting...)
Run: beginners tutorial: Routing in Rails 2.0... (waiting...)
Run another rails app (waiting...)

Every time the same loop saying that:
       mongrel_rails.rb:19: Unhandled listen loop exception
#(Errno::ENOTSOCK: An operation was attempted on something that is not a

Generally there is code in Ruby, where server is listening for connection
using "accept" method, but something is wrong (so loop is server's loop) and
error handling prints error and goes into the loop again.

Socket is: (protocol, local IP, local port, remote IP, remote port)

So I guess accept receives not full socket information, or data type is

There is no problem with firewall, cause it prompts to allow connection.

Any suggestions ?

Mateusz Winiarski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/instantrails-users/attachments/20080707/272295cc/attachment.html>

More information about the Instantrails-users mailing list