Notes »

Docker Can't Access Local Port

Had an issue with Prometheus in a docker compose container unable to access the node_exporter port (9100)

It turns out the firewall was blocking the docker IP range...

this fixed it: sudo ufw allow from 172.0.0.0/8 to any port 9100

OR BETTER, since I ran into problems again:

sudo ufw allow from 172.0.0.0/8 to any

edit SideBar

Page last modified on March 14, 2024, at 10:50 pm

^