busterjs/buster — Issue #106: Allow buster-server to assign a null binding for http server listen
Author: rvagg
Created: 2012-02-24 02:54:35+00:00
State: open

Since [this commit](https://github.com/busterjs/buster-test-cli/commit/ac6ebecdf6a3c8800aeec0de7aee14e1b8930699) the server is now binding to localhost (127.0.0.1) *only* which is annoying for connecting browsers not running on localhost, such as in VMs to (i.e. you can't). `-b` or `--binding` is fine except I launch the server from a Makefile and it needs to work on other people's machines with different hostnames & IP addresses and a ``` `hostname --long` ``` isn't reliable enough to do a binding *plus* I'd just like to be able to bind to any address the machine happens to have. Since `-b/--binding` has a `defaultValue` it doesn't look like I can get it to pass in a null to server.js.

The `defaultValue:'localhost'` is a good idea but it'd be really be nice to be able to override this and pass a null binding to [`listen()`](https://github.com/busterjs/buster-test-cli/blob/ac6ebecdf6a3c8800aeec0de7aee14e1b8930699/lib/buster-test-cli/cli/server.js#L45)