[Nitro] Default bind host

Chris Farmiloe chris at motionpath.com
Fri Oct 28 03:53:32 EDT 2005

when developing I find it handy that the webrick server doesn't bind
to all interfaces as it allows me to run more than one project at a time

I'm happy with the default behavior.

I have (the very hacky) line
Server.address = ARGV[0] || 'localhost'
in my debug conf to allow me todo
./run hostname
./run ip

it doesn't come up that often but is handy when it does

On Oct 28, 2005, at 06:44, James Britt wrote:

> Peter Abrahamsen wrote:
>> Hi, all,
>> There's a suggestion on the Wishlist wiki page that the default bind
>> host be * ( I prefer the present default of localhost   
>> because
>> it forces the developer to vet the security of their code  before
>> exposing it to the world. Can someone make a case for binding   
>> globally
>> by default?
>> This is a small point, but it'll affect every developer's  
>> experience  of
>> Nitro, and should be resolved. What is the will of the people?
> I don't think I've ever deployed to anything but a specific IP  
> address.
>   I like the idea of using localhost as the default in order to enable
> development but force an explicit choice when deploying live.
> James
> -- 
> http://www.ruby-doc.org - The Ruby Documentation Site
> http://www.rubyxml.com  - News, Articles, and Listings for Ruby & XML
> http://www.rubystuff.com - The Ruby Store for Ruby Stuff
> http://www.jamesbritt.com  - Playing with Better Toys
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

More information about the Nitro-general mailing list