2
I am trying to run the virtual box (Linux) off my Windows host,
and currently trying to access the URL "local.corn.org". I edited the hosts
file, adding
10.0.2.2 local.corn.org
and also tried
127.0.1.1 local.corn.org
Neither one works. The 10.0.2.2 seems to load then brings me to an "oops" page. What else needs to be done to run it off the virtual box?
Three adapters on the virtual box:
- first one is NAT,
- second is Host-Only,
- third is Bridge.
EDIT: More info: I am using vagrant alongside virtual box, and I was told not to touch the actual settings for the virtual box, is there anything else that can be done on my host or do I actually have to touch the settings somehow? I am not getting any errors on vagrant either.
Also, noticed there are two new unidentified neworks on my host - being the virtual box "VirtualBox Host-Only Network" and "VirtualBox Host-Only Network #2" - and access type is No Internet Access
Which adapter is assigned the IP 10.0.2.2? Better yet, what are the IPs of all 3 adapters? Do you have a firewall running on your Linux VM? – heavyd – 2014-01-28T00:11:51.433
I edited your question. Check to see whether I understood what you meant, and fix it if I didn’t. – Scott – 2014-01-28T00:15:35.860
Two quick things. Bridging the adapter on VMware is a common way to get to put the adapter on the same network as the host computer. Also check for a firewall on the Virtual host like previously suggested – PsychoData – 2014-01-28T00:26:37.370
… and please provide more information about your configuration, what you’ve tried so far, what works and what doesn’t. For example, can you get any network connectivity (e.g.,
ping
ortelnet
) between the host and the client? Can you view the web page with a browser on the host? Can you view the web page from the client with a URL that contains the appropriate IP address (e.g., “httρ://10.0.2.2/…”?) Are you using “127.0.1.1” for any particular reason? – Scott – 2014-01-28T00:28:28.087I updated the info – Lion789 – 2014-01-28T08:52:24.117