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?
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.