Hi Alvaro,

thanks for the reply. Indeed when I connect to the guest and run 
'ifconfig', I see the 192.168.50.4 I specified in the Vagrantfile.

So i guess the main problem is my lack of network knowledge.

I also install apache-httpd on the guest and my naiv thinking was that I 
can access the apache from the hosts browser via 192.168.50.4:8080, which 
does not work... 127.0.0.1:8080 is working though

How is this possible to access the guests apache-httpd from the host bro

config.vm.define "qa" do |qa|
qa.vm.box = "hashicorp/precise32"
qa.vm.network :private_network, ip: "192.168.50.4"
qa.vm.network :forwarded_port, guest: 80, host: 8080
qa.vm.provider :virtualbox do |vb|
vb.name = "qa"
vb.memory = 1024
end
qa.vm.provision "shell" do |s|
s.inline = "sudo apt-get install -y apache2"
s.name = "apache"
end
end

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/51677028-2dfa-45ee-b75c-f030442bc221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to