folios
31 May '17
I’m not 100% clear what you’re asking. You can connect to the Postgres server directly from the Vagrant box using the psql utility, which is installed there. You could probably (I haven’t tested it, but I think it would work) also connect to it from your host machine using some other client (possibly, Navicat, I’ve never used that), if you update your VM configuration in VirtualBox to forward port 5432 to the host machine. Then on the host machine you could connect to localhost:5432 to see the Postgres server on the Vagrant box.