postgresql - Access remote Postgres server with pgAdmin -


The following lines are in the pg_hba.conf file

  Type Database User CIDR-Address Host Host All All 10.0.0.68/32 Trusted Local Madbuzz Passwords Local All Postgres ident host mydb myuser 10.0. 0.68 / 32 Password Host All Postgrads 10.0.0.68/32 Trust   

My postgresql.conf The following line in the file is:

  listen_address = 'localhost, 10.0.20.10'   

nmap -sS 10.0.20.10 Finds:

  Port State Service 5432 / TCP Open PostgreSQL   

I can do SSH in the Bash shell on the server, but I do not connect to pgAdmin can do. I get the following:

Could not connect to the server: There is no way to host (0x00002751 / 10065) What is running on the host host "10.0.20.10" and port 5432 Accept TCP / IP Connection?

I do not know what the problem is. @Adan found a solution of himself:

This firewall issue was:

  service iptables blocking   

connection enabled. I will write a rule for connection permission.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -