Prometheus on ubuntu 16.04

I downloaded prometheus and node_exporter from the prometheus website. Simply download and extract the files. On my server i opened up the ports: 9090 and 9100. After that i run both the prometheus and the node_Exporter service. So they are listening on the ports, I checked this with “ss -tlnp” If i try to connect to these ports with the webbrowser, i get a connection timed-out error.

If I try this with vagrant and VM’s then prometheus works. But i want to make it work on my digital ocean server.

Anybody who might know the problem?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted


You may want to take a look at the step-by-step guide provided by DigitalOcean at the URL below.

Although it was written for 14.04, it should work on 16.04 as well.