# Prometheus ERROR

**URL:** <https://forum.storj.io/t/prometheus-error/18492>\
**Category:** troubleshooting\
**Tags:** docker, prometheus\
**Created:** [May 23, 2022, 8:06pm UTC](https://forum.storj.io/t/prometheus-error/18492 "2022-05-23T20:06:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmn007](https://storj.bcdn.literatehosting.com/letter_avatar/dmn007/32/5_5575768a8748004e209b776fc1b2916d.png) [@dmn007](https://forum.storj.io/u/dmn007)\
**Post date:** [May 23, 2022, 8:06pm UTC](https://forum.storj.io/t/prometheus-error/18492/1 "2022-05-23T20:06:14Z")

</div>

Hi, I recently mounted a node in docker with prometheus and grafana, the storj node is up but I can’t get prometheus to communicate with storj-exporter which is up on the ip [http://0.0.0.0:9651/](http://0.0.0.0:9651/)

 ![error_prometheus](https://storj-s3.bcdn.literatehosting.net/original/2X/5/5b1c8ce875683777f30730a0ae7fa50b2cf68d07.png)

I have tried modifying the /prometheus.yml file changing the targets to:  
storj-exporter:9651,  
127.0.0.1:9651,  
0.0.0.0:9651  
All of them have given me the same error.

I have also tried to solve it following [this](https://newbedev.com/getting-error-get-http-localhost-9443-metrics-dial-tcp-127-0-0-1-9443-connect-connection-refused) tutorial but it keeps showing me the same error.

Storj-exporter is up and showing data:

 ![error_prometheus2](https://storj-s3.bcdn.literatehosting.net/original/2X/0/02781b558158a511db857df4a7c2231b2037f54d.jpeg)

I also leave a capture of all the containers that I have raised:

 ![docker ps](https://storj-s3.bcdn.literatehosting.net/original/2X/6/6be1ce42aa43b041aa724745b57bdf68d9848df7.png)

Thank you very much in advance.

PS:  
Before showing the unknown status in the target menu, it showed me the down status with the following error message:  
Get “[http://0.0.0.0:9651/metrics](http://0.0.0.0:9651/metrics)”: dial tcp 0.0.0.0:9651: connect: connection refused

When I modified the prometheus.yml file the error message disappeared and the status changed from down to unknown

---

<div class="post-metadata">

**Author:** ![remo](https://storj.bcdn.literatehosting.com/letter_avatar/remo/32/5_5575768a8748004e209b776fc1b2916d.png) [@remo](https://forum.storj.io/u/remo)\
**Post date:** [May 25, 2022, 4:32am UTC](https://forum.storj.io/t/prometheus-error/18492/2 "2022-05-25T04:32:52Z")

</div>

On my setup it works with using local ip:

- targets: [“192.168.1.21:9651”,“192.168.1.21:9144”]
