I am getting the following error message when adding as a datasource.
dial tcp 127.0.0.1:5432: connect: connection refused
I am trying to connect to postgresql database on the following host: localhost:5432. I have no problem doing so from Pgadmin 4 for instance. I already reconfigured pg_hba.conf and postgresql.conf files to allow broader access to the database.
I am finding very little ressourced online on this particular issue.