Make server bind interface configurable.
authorLiam Bowen <LiamBowen@gmail.com>
Sat, 2 May 2015 02:28:21 +0000 (22:28 -0400)
committerbep <bjorn.erik.pedersen@gmail.com>
Thu, 7 May 2015 20:04:40 +0000 (22:04 +0200)
commit2bfa9fb72b8df6ed26cd9bc59c0029638ca38f0a
tree675879ee61ca364a5c6423bc0fd91f5a45ce2028
parent24d8ac1fc6e93f91ca7bc28eb6fe886ba97944d0
Make server bind interface configurable.

Bind by default to 127.0.0.1. Previously it always bound to all interfaces.

Always have log message display that the server is available on the
interface to which it is bound, instead of the baseUrl.

Fixes #1097
commands/server.go