Vagrant on Windows 10
If you need use vagrant server on Windows on you need make some steps. First you must edit hosts file. Run cmd as admin and then go to c:windowssystem32driversetc , then “notepad hosts” will let you edit the file. Localhost ist disabled by default. Just change ”#127.0.0.1 localhost” this line like that ”127.0.0.1 localhost”. Save and restart.
And your vagrant file should include
config.vm.network "forwarded_port", guest: 8080, host: 8080 # http