Vagrant-Setup icon indicating copy to clipboard operation
Vagrant-Setup copied to clipboard

Access server from other devices over Wifi?

Open christianmagill opened this issue 10 years ago • 3 comments

Is this possible?

christianmagill avatar Apr 19 '14 22:04 christianmagill

As addressed by myself, @fideloper & @JeffreyWay on the following thread....

https://laracasts.com/lessons/get-off-mamp-now#comment-1263753309

You can use either DNSMasq, this script from Marlon-Tools: https://code.google.com/p/marlon-tools/source/browse/tools/dnsproxy/dnsproxy.py

or I think the prefered method, http://xip.io

J5Dev avatar May 12 '14 12:05 J5Dev

The current network setup gives you a private IP address that only your computer can use to access. This also allows the NFS file sharing (if you're using Vagrant and setting up NFS file sharing)

In order for other computers to view your virtual machine, you'll need to assign it a public IP address (bridged networking). You'll also then not be able to use NFS for local file sharing.

fideloper avatar May 12 '14 12:05 fideloper

Sorry, yes I should have added that the above mentioned suggestions will only be available on the network you are currently connected to..... my bad.

J5Dev avatar May 12 '14 12:05 J5Dev