Access on localhost virtual box from Windows

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ter
Posts: 4
Joined: 27. Oct 2014, 11:36

Access on localhost virtual box from Windows

Post by ter »

On win7 i install virtualbox and start up apache server. How can i can get access to the localhost apache from windows?
MeloWise
Posts: 1
Joined: 9. Jan 2015, 04:24

Re: Access on localhost virtual box from Windows

Post by MeloWise »

Have your tried localhost?

I am having similar problems. I am not able to view the "it works" page. Nor can i view my enabled site i created.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Access on localhost virtual box from Windows

Post by BillG »

How have you configured networking in the vm? The default setting of NAT alone will not let you see the guest from the host. Configure the guest to use Host Only networking for this.

You cannot use "localhost" unless you are actually in the machine hosting the web server. Use the VM machine's name or IP address to access it from the host OS.
Bill
Post Reply