To remotely access a PostgreSQL database, you must set the two main PostgreSQL configuration files:
First of all, configure PostgreSQL service to listen on port 65432 on all network interfaces in Windows 7 machine:
open the file postgresql.conf (Manageengine\ServiceDesk\pgsql\data) and sets the parameter
listen_addresses = '*'
Check the network address of the machine and set parameters in pg_hba.conf file (located in the same directory of postgresql.conf) so that postgresql can accept connections from any machine
For example, if the machine has 192.168.56.2 IP address, add in the pg_hba.conf file:
host all all 192.168.56.1/24 md5
this way, PostgreSQL will accept connections from all hosts on the network 192.168.1.XXX.
Restart the application.