Mongrel - Listen only on localhost

1 post / 0 new
#1 Wed, 08/13/2008 - 03:18
David.Strejc

Mongrel - Listen only on localhost

I found that when you are starting mongrel server it binds on all interfaces - as I don't think this is needed (as Apache is proxy for mongrel server) and it doesn't look pretty well on nmap I've changed line 398 in ruby-lib.pl to:

"$mr start -p $port -e $mode -a 127.0.0.1".

If Jammie or Joe would be so kind and would implement this as configuration option it would be great - so administrator can choose which interface he wants to mongrel_rails bind to.

Thanks