I have just downloaded Metabase and it looks like a great tool. However, I am having issues connecting it to a local postgresql server running through PgAdmin 4.
I have got metabase running only my localhost using port 3000, inside a docker container:
Here is what my SQL database settings look like:
However, every time I try and connect, I get this issue:
Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Can someone please explain to me what I am doing wrong? I am completely new to Metabase so step by step explanations would be super appreciated.