after I config influxdb support https connection, I found that my influxdb can not visited by the foreign address, only connected successfully by localhost. so I want to kown why it can’t listenning on the public address.
I use netstat -anp command ,found that only listening on the 127.0.0.1:8086
My influxdb.conf such as:
[http]
bind-address = “:8086”
enabled = true
auth-enabled = true
log-enabled = true
https-enabled = true
https-certificate = “”
https-private-key=""
The configuration looks right.
[http]
bind-address = “:8086”
This parameter is the one that tells influx where to listen, currently, it listens on port 8086 without host restrictions. (unless overridden by env variables).
Is the firewall configured to allow traffic from/to that port?
If you made changes to the conf file have you restarted the Influx service?