I installed PostgreSQL on my local server (Ubuntu) with IP 192.168.1.10. Now, I\'m trying to access the database from my client machine (Ubuntu) with IP 192.168.1.11 with p
For redhat linux
sudo vi /var/lib/pgsql9/data/postgresql.conf
pgsql9 is the folder for the postgres version installed, might be different for others
changed listen_addresses = '*' from listen_addresses = ‘localhost’ and then
sudo /etc/init.d/postgresql stop sudo /etc/init.d/postgresql start