Postgresql remote access no pg_hba.conf entry for host
问题 I'm trying to get remote access to postgresql, installed on a server with IP A.A.A.A. There are two servers which one them has IP A.A.A.A, where postgresql has been installed on; and the other one has IP B.B.B.B. I've edited /etc/postgresql/10/main/pg_hba.conf and added the following lines host my_db db_user B.B.B.B/32 md5 host my_db db_user A.A.A.A/32 md5 I've also edited /etc/postgresql/10/main/postgresql.conf and set listen_addresses to '*' , like this: #-----------------------------------