Allow remote connection PostgreSQL 9.5

edit file /etc/postgresql/9.5/main/pg_hba.conf

change listen_addresses parameter in /etc/postgresql/9.5/main/postgresql.conf

restart postgresql service

test login remotely

 

Continue Reading