Configuring DHIS2 on application server to connect to another server for database

Dear all,

Please I need a guide on how to setup my dhis.conf file on the application server “C:” to enable me install database on another server dedicated for databases “D”.
Tried this jdbc:postgresql://IPADDRESS:portno/dbname but it did not work.
(DHIS2 version 2.29)

Regards.

2 Likes

Dear all,
I have been able to fix this.

I had to configure the postgres database via its configuration file to listen and allow connection from the application server as shown below:
host all all IPDADDRESS DNS trust

Thanks.

1 Like