Connection to local host influx datasource

  • What Grafana version and what operating system are you using?
    Grafana v9.5.0-cloud.5

  • What are you trying to achieve?

I have currently connnected my grafana instance to influxdb hosted in AWS cloud.

But i have my old data in my localhost influxsn instance and when i try to connect it there was an error like: post “http://127.0.0.1:8086/api/v2/query?org=LDO-test”: dial tcp 127.0.0.1:8086: connect: connection refused error reading buckets

When i connect same localhost influxdb to localhost grafana instance http://127.0.0.1:3000/. Its working with same token and same configuration, but with grafana cloud pro same source is not working,

Welcome

When you say “my grafana” above are you talking about your cloud grafana?

Greetings,

Yes grafana cloud

Thank you

Your cloud grafana, public in the world wide web, does not know anything about your local 127.0.0.1 influx.

Thank you much for the reply.

So there is no way to connect to local influx instance you mean

Best Regards

there are ways to do it but I would not recommend it unless you have some good networking/security skills as you will be exposing your ip address to the world. You will have to expose the ip address of you influxdb server (not 127.0.0.1, this is fundamental networking subject you need to read up on What Is the 127.0.0.1 IP Address?)

But this is not a grafana issue, this is a networking issue.