- Update
pg_hba.conf(most likely in/etc/postgresql/9.4/main) with -host all all 0.0.0.0/0 trust- (you can, alternatively, set the IP to something more specific)
- Update
postgresql.confto uselisten_addresses = '*' - Be sure to
sudo service postgresql restart
- Add
config.vm.network :forwarded_port, host: 5432, guest: 5432to theVagrant.configureblock in yourVagrantfile.
- Attempt to connect from your host using
psql -h localhost -U vagrant
It worked like a charm, thanks