[Mongrel] mongrel 1.0.3

Luis Lavena luislavena at gmail.com
Sat Oct 27 13:26:36 EDT 2007


On 10/27/07, Luis Lavena <luislavena at gmail.com> wrote:
>
> It seems is not handling the IP binding...
>
> Could you try the following in a IRB console?
>
> require 'rubygems'
> require 'mongrel'
> s = Mongrel::HttpServer.new("127.0.0.1", 8081)
> puts "Host: #{s.host}, Port: #{s.port}"
>
> It's using a TCPServer inside, so it should work, unless mongrel_rails
> is doing something else with the address (host) passed by.
>

Also, you indicate was using FreeBSD, there is a exception for HTTP
handling in Mongrel::HttpServer#configure_socket_options

Maybe that is affecting the result? wasn't present in 1.0.1 AFAIK.

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi


More information about the Mongrel-users mailing list