listen_addresses = '*'
2. PostgreSQL, by default, refuses all connections it receives from any remote address. You have to relax these rules by adding this line to
[ServiceDesk Plus - MSP HOME]/pgsql/data/pg_hba.conf
host all all 0.0.0.0/0 md5
So, after modifications, it should look like below,
host all all 127.0.0.1/32 md5
This is an access control rule that lets anyone login from any address if a valid password is provided (the md5 keyword). You can use your network/mask instead of 0.0.0.0/0 to only allow access from certain IP addresses.
3. When you have applied these modifications to your configuration files, you need to restart the PostgreSQL server.
Now, you will be able to login to your server remotely.