title: Force InfluxDB to listen on localhost only
body: <p>I am trying to get InfluxDB v1.1.1 to listen on localhost only AND work with both IPv4/v6. Server is running on Debian 7.</p>
  
  <p>Default, config, I can reach influx internally and externally:</p>
  
  <pre><code>[http]
    # The bind address used by the HTTP service.
    bind-address = ":8086"
  
  netstat -antp | grep "influx"
  tcp6       0      0 :::8083                 :::*                    LISTEN      813/influxd     
  tcp6       0      0 :::8086                 :::*                    LISTEN      813/influxd     
  tcp6       0      0 :::8088                 :::*                    LISTEN      813/influxd     
  
  curl -4 -sl -I localhost:8086/ping &lt;- Works
  curl -6 -sl -I localhost:8086/ping &lt;- Works
  </code></pre>
  
  <p>Attempting to listen on localhost only using IPv6 I cant reach influx internally or externally using IPv4/IPv6:</p>
  
  <pre><code>[http]
    # The bind address used by the HTTP service.
    bind-address = "[::1]:8086"
  
    netstat -antp | grep "influx"
  tcp6       0      0 :::8083                 :::*                    LISTEN      1831/influxd    
  tcp6       0      0 ::1:8086                :::*                    LISTEN      1831/influxd    
  tcp6       0      0 :::8088                 :::*                    LISTEN      1831/influxd
  
  curl -4 -sl -I localhost:8086/ping &lt;- Does not work
  curl -6 -sl -I localhost:8086/ping &lt;- Does not work
  </code></pre>
  
  <p>Attempting to listen on localhost only using IPv4 I can reach influx internally using IPv4 only:</p>
  
  <pre><code>[http]
    # The bind address used by the HTTP service.
    bind-address = "127.0.0.1:8086"
  
    netstat -antp | grep "influx"
  tcp        0      0 127.0.0.1:8086          0.0.0.0:*               LISTEN      3375/influxd    
  tcp6       0      0 :::8083                 :::*                    LISTEN      3375/influxd    
  tcp6       0      0 :::8088                 :::*                    LISTEN      3375/influxd  
  
  curl -4 -sl -I localhost:8086/ping &lt;- Works
  curl -6 -sl -I localhost:8086/ping &lt;- Does not work
  </code></pre>
  
  <p>Not sure if I am missing something in the config or if this is just not possible.</p>