kairosdb/kairosdb — pull request #75 by llange (2014-07-28 00:07:49+00:00)
Title: Allow more configuration of local bind addresses

KairosDB listens on some ports :
- Telnet server (default port 4242)
- HTTP / Web Servlet (default port 8080)
- Carbon Text (default port 2003)
- Carbon Pickle (default port 2004)

We would like to allow more configuration of the local bind address :
- Choosing the local IP address (by default, like now: 0.0.0.0 = all addresses, but also adding possibility to bind on 127.0.0.1 or on a specific IP address of the server)
- Be compatible with IPv6 addresses

In that case, we would need to introduce new configuration settings, here is a proposal:
- kairosdb.telnetserver.address
- kairosdb.jetty.address / kairosdb.jetty.ssl.address
- kairosdb.carbon.text.address
- kairosdb.carbon.pickle.address

We would need to support:
- hostnames (like : 'localhost', 'localhost.localdomain', 'my.host.name'
- IPv4 addresses like '0.0.0.0' (all addresses), '127.0.0.x' (loopback), 'x.y.z.t', ...
- IPv6 addresses like '0:0:0:0:0:0:0:0' or '::' (all addresses), '::1' (loopback), ...