Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inter-vm communication #6

Open
freekmurze opened this issue May 13, 2013 · 1 comment
Open

inter-vm communication #6

freekmurze opened this issue May 13, 2013 · 1 comment

Comments

@freekmurze
Copy link

We use Virtualbox VM's to test our webapps in IE. Unfortunately these IE-VM's do not have access to the webserver running in the sneakers VM (in the IE-VM localhost is unknown).

How can the webserver running in the sneakers-VM be accessed in other Virtualbox VM's?

probably related: i'd also like to connect to the webapp running on the vagrant box via mobile devices.

@vncntvandriessche
Copy link

You'll need to add a private network inside the vagrantfile to the machines. Have a look at this page: http://docs.vagrantup.com/v2/networking/private_network.html search for "VirtualBox Internal Network".

Please note that to be able to use private networks between the virtual hosts that are redhat(-based) you'll need vagrant version >= 1.4.1 .

To be able to connect to your webapp using your mobile device you'll have to use port forwarding and make your host's ip available to connections from the outside (firewall) . then point your mobile device's webbrowser to your host's: http://<host_ip>:<port_forwarded_to>/path/ .

More information about port forwarding in vagrant can be found here: http://docs.vagrantup.com/v2/networking/forwarded_ports.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants