Skip to content

Instantly share code, notes, and snippets.

@noherczeg
Last active August 29, 2015 14:13
Show Gist options
  • Save noherczeg/01560a11a9ad4a45bdc4 to your computer and use it in GitHub Desktop.
Save noherczeg/01560a11a9ad4a45bdc4 to your computer and use it in GitHub Desktop.
postgresql allow remote access
$ nano /etc/postgresql/9.3/main/pg_hba.conf
# past to the end of the line:
# source db role from mode
host all all 0.0.0.0/0 trust
$ service postgresql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment