Permission denied when adding new Prometheus datasource

  • What Grafana version and what operating system are you using? 9.2

  • What are you trying to achieve? add Prometheus as datasource

  • How are you trying to achieve it? add prometheus from Grafana datasources settings - this is a new vanila install

  • What happened? getting “permission denied” error

  • What did you expect to happen? add prometheus server

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Error reading Prometheus: Post “http://:9090/prometheus/api/v1/query”: dial tcp :9090: connect: permission denied

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    Grafana and Prometheus installed on the same hosts monitoring 3-node Cassandra cluster

  • Did you follow any online instructions? If so, what is the URL?