I\'m recently setting up and running a Windows 2008 r2 server with VMware Workstation 8.
I\'m running a Centos 6.2 virtual linux box with Postgresql 9.1. Everything seem
Is the server running on host "192.168.1.26" and accepting TCP/IP connections on port 5432?
Check that the server has that IP address. Check that there are postgres
processes running. Use netstat to confirm that the server is listening on port 5432.
i have the same problem. I disabled all my third party antiviruses and firewalls and reinstall PostgreSQL again and its now working fine... :)
Make sure PostgreSQL Server is allowed through the firewall:
On the server machine, go to
Control Panel > System and Security > Windows Firewall > Allow an app through Windows Firewall
Scroll through Allowed apps and features, make sure 'PostgreSQL Server' is checked.
Adding to the great answers above, after implementing all the firewall rules and the configuration file changes, it still wasn't connecting to my host's IP address. Then I realized I had installed pgadmin locally on the host that my postgres db was installed on. I didn't need to use the external IP address for the host, I simply needed to connect to "localhost" in the pgadmin connection process. Extremely frustrating but made sense. So, if you
then maybe... just maybe, try connecting to "localhost" or "127.0.0.1".
it's worth a shot right!
You should also allow port 5432 on the firewall.
example on centos 8:
sudo firewall-cmd --zone = public --add-port = 5432 / tcp --permanent
Probably a firewall issue, check it by
systemctl status firewalld.service
you could simply disable it by:
systemctl stop firewalld.service
systemctl disable firewalld.service