pgAdmin3 connection problems

前端 未结 8 1146
野趣味
野趣味 2021-02-04 05:30

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

8条回答
  •  盖世英雄少女心
    2021-02-04 05:41

    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

    • host pgadmin from the same server as your postgres database
    • have ruled out that the firewall is not in your way
    • have ruled out that any security groups are not blocking you
    • have fiddled enough with your configuration files pg_hba.conf and postgresql.conf

    then maybe... just maybe, try connecting to "localhost" or "127.0.0.1".

    it's worth a shot right!

提交回复
热议问题