pgadmin - Canot connect to postgresql server from out -
i want connect postgresql server occur below error. search , find result below after these again error occured
in postgresql.conf change listen_addresses localhost *
in pg_hba.conf change 127.0.0.1/32 0.0.0.0/0
reboot server
error:
could not connect server: connection refused.is server running on host "ip number" , accepting.tcp/ip connections on port 5432?
i suggest should following steps.
- check postgresql server running.
- check listen_addresses parameter ( postgresql.conf )
- check port number of postgresql ( port parameter of postgresql.conf )
- check firewall policy of database server , set allow port of postgresql.
- if want connect db server, may shoud set pg_hba.conf following :
# type database user cidr-address method local trust host 0.0.0.0/0 md5
Comments
Post a Comment