How do I connect guest localhost:3000 from host machine?
So I have set up a Vue project in Vagrant. vagrant ssh in and serving the project by yarn dev and it shows that it's running on localhost:3000 in Vagrant.
Here is my Homestead.yaml configuration:
- map: consumer.test
to: /home/vagrant/projects/Consumer
On my host machine, I have added edited my hosts file as following:
192.168.10.10 consumer.test
So I went to consumer.test on my host machine, but of course it won't run cus the port number is missing, and gives the following error:
403 Forbidden
nginx/1.13.6
How do I fix this?