Skip to content

Instantly share code, notes, and snippets.

@salex89
Last active August 15, 2016 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salex89/466fe70ea0854c311e393d0e0f655a96 to your computer and use it in GitHub Desktop.
Save salex89/466fe70ea0854c311e393d0e0f655a96 to your computer and use it in GitHub Desktop.
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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment