Vagrant-Setup
Vagrant-Setup copied to clipboard
Access server from other devices over Wifi?
Is this possible?
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
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.
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.