paulmillr / pushserve

Dead-simple pushState-enabled command-line http server.
32 stars 8 forks source link

localhost in console message is inaccurate #7

Open es128 opened 9 years ago

es128 commented 9 years ago

With host unspecified, the server is actually listening to any inbound request, whereas localhost is the equivalent of 127.0.0.1 - a local-specific loopback.

http://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback

https://github.com/brunch/brunch/issues/929