I am using Ubuntu 22.04 and Postgresql 14.
I have configured Metabase on Docker with Nginx. All are installed on the same machine - localhost. The Metabase page opens at the following address : http://127.0.0.0:3000. When I try to add Postgres database, it gives an error that the host and port settings are not correct.
I have checked the postgresql.conf file and everything seems to be correct (host - localhost, port - 5433 (I changed it as per a suggestion on Stack Overflow)).
Docker works fine - checked with Hello World container.
Can someone help ? Do I need to specify host in a different way in Metabase add database menu (I have been giving it as localhost). The port of 5433 is the same. I have checked the user and password.
Am facing a similar issue even for MySql. So it might be related to how the settings are given in Docker.
Stuck badly. Any help will be appreciated.