benjamincrozat's avatar

Any way to make a VM available through the local network?

I'm stuck since months with this. Is there any of you who can access to his Homestead VM (or any other Vagrant VM, it doesn't matter) through his local network? I mean, really. I Googled and failed a lot (I also searched in Laracasts). As you can imagine, the purpose of this is that I want to test my projects on mobile devices.

I'm waiting for the Superman of networking who can rescue me!

0 likes
5 replies
itsDamien's avatar

If you want a simple way to access your local homestead anywhere, you can use ngrok : https://ngrok.com/

For example with the local domain laravel.app you can do ngrok http laravel.app:80 and get an url available from lan&wan.

You can execute ngrok from host or homestead

benjamincrozat's avatar

@TheKoon Works very well, merci!

That's not exactly what I wanted though. I just wanted a way to access to the VM from it's local IP on my network. :)

Please or to participate in this conversation.