Created
July 1, 2020 12:42
-
-
Save ajkovar/c86789f5f494e0e43250a6563bc53c89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Had to add line to pg_hba.conf: | |
You need to open file called /var/lib/pgsql/data/pg_hba.conf. Login as postgres user using su command: | |
$ su - postgres | |
$ vi /var/lib/pgsql/data/pg_hba.conf | |
Now append following line. Let us say you would like to give access to 192.168.1.0/24 network: | |
host all all 192.168.1.0 255.255.255.0 trust | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment