Grafana & InfluxDB

I have created a user and database but when I try a new connection to an InfluxDB database from Grafana I get

Post "http://localhost:8086/query?db=HomeAssistant&epoch=ms": dial tcp [::1]:8086: connect: connection refused error reading influxDB

Not sure what might be wrong here. I have check the credentials. I am not sing anything in the influxDB logs.

This tutorial worked for me https://youtu.be/rXF-LycbjoA?feature=shared

Thanks that got me further.

Just some differences so far, while I could use http://a0d7b954-influxdb:8086 in Grafana in the configuration.yml file I needed to use host: localhost:8086