Where /mnt/postgres/data it is DB_DIR is I set during installation
locate and uncomment #port = 5432 and chage port to 4432
Uncomment the listen_addresses line and change it to listen_addresses = '*'.
Set the maximum number of database connections to 100 x number of nodes in the Qlik Sense, with the max_connections setting, for example, max_connections = 200 # this example is for a site with 2 nodes.
Locate the following line:host all all 127.0.0.1/32 trust
This line determines which servers can access the server that the repository database runs on. The default setting, 127.0.0.1/32, only allows localhost to access the database.
Replace 127.0.0.1/32 with a subnet specification that covers the IP addresses of all nodes in your site. Either add one row for each node, using /32 as suffix for each address, or add a subnet that covers all addresses using, for example, /24 as suffix. To allow all servers to access the repository database, use 0.0.0.0/0.