Connect Prometheus to Grafana

I have Grafana open at Http://:nodePort and I can open up prometheus at http://:nodeport, but when I go to add a datasource for Grafana I get a HTTP error, bad gateway. Am I misunderstanding how your supposed to connect the two?

Hi jprohaska3

Might be because on your prometheus.yml you don’t have configure your target to be the name of your computer.