To add a new server connection using an IP address, you need to follow these steps:
Go to the folder PostgreSQL/data, and edit the file postgresql.conf, add the following line at the end of the file and save:
listen_addresses = '*' # what IP address(es) to listen on;
'*' - for all the ip addresses or you can mention the IP address you wish to add
listen_addresses = '192.168. . '
In the same directory PostgreSQL/data, open pg_hba.conf with an editor and add the following line:
host all all 192.168. . /32 md5
Restart your server or from Services.
Add the new connection as we normally do, mention IP in host field.