Postgresql restart. Postgresql conf listen_addresses. psql консоль. psql. настройка pg_hba.conf postgresql.