Connection refused error with prometheus

I am learning prometheus and when I am connecting streamlit with prometheus. I am getting an error.


here is the yaml file::

Can anyone help?