On Fri, Sep 7, 2018 at 5:10 PM amul sul <sulamul@gmail.com> wrote:
>
> Do you have following entry as well?
>
> # IPv6 local connections:
> host all all ::1/128 trust
>
> I hope "listen_addresses " in postgresql.conf is on default setting.
>
Sorry, I misread -- your local psql connection is fine .
Try setting listen_addresses = '*' in postgresql.conf.
For more detail please have a look to
https://www.postgresql.org/docs/9.5/static/runtime-config-connection.html
Regards,
Amul Sul