[Nitro] Default bind host
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 || 'localhost'
in my debug conf to allow me todo
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 * (0.0.0.0?). I prefer the present default of localhost
>> it forces the developer to vet the security of their code before
>> exposing it to the world. Can someone make a case for binding
>> 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
> I like the idea of using localhost as the default in order to enable
> development but force an explicit choice when deploying live.
> 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
More information about the Nitro-general