For some reason, localhost no longer works (at least on Mac) with the Vagrant virtual machine. The vagrant box accepts connections with the private IP, but port forward no longer works.
This is not a big deal as automated tests are supposed to run against Docker virtual machine, not the Vagrant box.