Created
January 26, 2016 23:42
-
-
Save netoisc/0583f2490d634b46c10b 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
| # 1 - Modify Vagrantfile in order to allow portforwarding | |
| config.vm.network "forwarded_port", guest: 5432, host: 7001 | |
| # 2-Edit postgresql.conf (Guest) | |
| listen_addresses = '*' | |
| #3 -Edit pg_hba.conf (you might want to tune this better) | |
| host all all 0.0.0.0/0 md5 | |
| #4- restart the service | |
| service postgresql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment