I really hit a wall with this problem. I am on windows machine (with admin privileges) and I want to start setup my working environment with vagrant.
Problem is that I a
config.vm.network :forwarded_port, guest: 80, host: 8932, host_ip: "127.0.0.1", auto_correct: true
It appears to be an issue with the new vagrant 1.9.3 (see https://github.com/mitchellh/vagrant/issues/8395)
some were able to fix with following
I managed to make the 1.9.3 version working by rewritten all my Vagrantfile(s) and adding the
host_ip: "127.0.0.1"
parameter for each of the "forwarded_port" network configuration.E.g.:
config.vm.network "forwarded_port", guest: 22, host: 1022, host_ip: "127.0.0.1", id: 'ssh'
For puphpet, you can edit your /puphpet/vagrant/Vagrantfile-local
search for forwarded_ports
and replace
if !machine['network']['forwarded_port'].nil?
machine['network']['forwarded_port'].each do |i, port|
if port['guest'] != '' && port['host'] != ''
machine_id.vm.network :forwarded_port,
guest: port['guest'].to_i,
host: port['host'].to_i,
host_ip: "127.0.0.1",
auto_correct: true
end
end
end
This appears to be a problem with latest version of Vagrant, 1.9.3.
I downgraded to 1.9.2 and fixed the problem.