Raspbian
Openhab 3.0.0:latest in Docker
Influxdb 1.8.3 in Docker with open port 8086
InfluxDB Persistence Service is not able to connect to InfluxDB.
When I have setup like this:
I see in logs:
2020-12-28 16:18:46.403 [WARN ] [rnal.influx1.InfluxDB1RepositoryImpl] - database error: java.net.ConnectException: Failed to connect to /127.0.0.1:8086 org.influxdb.InfluxDBIOException: java.net.ConnectException: Failed to connect to **/127.0.0.1:8086**
When I change it to:
I see in logs:
2020-12-28 16:26:24.638 [WARN ] [rnal.influx1.InfluxDB1RepositoryImpl] - database error: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8086 org.influxdb.InfluxDBIOException: java.net.ConnectException: Failed to connect to **localhost/127.0.0.1:8086**
User and password is correct for sure because below command works OK:
docker exec -it influxdb influx -username openhab -password MyPassword -host localhost
Does somebody else have similar problem? Is this something related to my instalation or maybe a global issue.