Quote:
Originally Posted by _dave_
But this is the IP of your laptop, right?
You must put the IP of the server where it asks for it, this is your desktop 192.168.1.2, if the above quote by Kraada is correct (you did not correct him, so I assume it is).
And you need to check listen_addresses="*" in postgresql.conf.
.2 is the desktop, have tried both, neither worked. Just uninstalled and reinstalled everything on the laptop, checked everything over on the desktop, and still nothing. My pg_hba looks like this:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
#host all all ::1/128 md5
host all all 192.168.1.2/32 md5
and added "listen_addresses = '*' " to the end of postgresql.conf. I use 192.168.1.2 as the server, 5432 as prt, and dbpass as password. In the link he says to add 192.168.0.0/32 md5, i tried that too and it doesnt work.