Dial tcp 127.0.0.1:5432: connect: connection refused

Hello I’m still a beginner,

I tried what you said with the command docker container inspect <postgres container name> and I saw that the address of my database container was 172.20.0.2, however when I put it in and hit the “Save & test button”.


3
This is what I got from the grafana logs after I touched the button:

Please help me