Enable Postgres to listen to all interfaces
1. Set `listen_addres`s to `*` in `/etc/postgres/<version>/main/ postgresql.conf`, or specify a concrete interface. 2. Add permissions to `/etc/postgres/<version>/main/pg_hba`