Connecting to a Vagrant VM externally
If you configure your network this way in the Vagrant file: config.vm.network :forwarded_port, guest: 4000, host: 4000 And then serve files on that port. You will be able to hit it externally. Assuming you are running the vagrant box on a Mac it would be (machine).local:4000, for example I’m joe.local:4000 Quite convenient to be able … Read more