Cruze
Cruze

Reputation: 220

Expose windows vagrant by ngrok

Hi I'm using windows vagrant and homestead developing laravel application.

i have this in my hosts file

192.168.10.10  laravel.dev

I wanted to expose this url so that I can test one requirements like responsiveness and the like. How to do this?

Upvotes: 0

Views: 367

Answers (2)

Said026
Said026

Reputation: 91

First of all you are you using a private network in your Vagrantfile ? something like :

config.vm.network "private_network", ip: "192.168.10.10"

Upvotes: 0

joepferguson
joepferguson

Reputation: 1088

Use the share command: https://laravel.com/docs/5.5/homestead#sharing-your-environment

Also, you should change your .dev TLD to .test otherwise browsers will start complaining about your site.

Upvotes: 1

Related Questions