I have an app that I have to change the /etc/hosts
file to be able to hit. Here is my new file.
#127.0.0.1 localhost
127.0.0.1 local.connectwithme
This works easily on my local machine. I just go to local.connectwithme:3000
in my browser and I am able to view my app.
I am now trying to view it with VirtualBox
running Windows 7
. Typically I would just go to the ip address 10.0.2.2
in the browser of the virtual machine and access the localhost
of my host machine from the VirtualBox
, but now that I have changed the /etc/hosts
file on my host machine I don't know what I need to hit to see my app on the virtual machine. Could someone please explain this to me. Thanks.