I need to run apache webserver(wamp) on my guest OS (XP). My host is also XP. I tried using both Bridged networking and host only networking to achieve this. In both attempts i couldnt get the webserver browser UI from host. I know it wont be avail in Host's localhost, since im running apache from guest.

Im guessing that i should put the guest's ip instead of localhost. But how do i get that IP? Or am i missing something here?

link|improve this question
feedback

migrated from stackoverflow.com Oct 2 '11 at 0:50

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 2 down vote accepted

You need to put the guest IP. The best way to do this is to open up the Command Prompt and type:

ipconfig /all

Provided the network you've configured is working it should be fine.

I'd suggest host only mode for networking as it removes a lot of the complications, but if you want to be able to access it from other computers on your network you should use bridged mode.

link|improve this answer
feedback

Im guessing that i should put the guest's ip instead of localhost.

Certainly. If you are on the host machine, localhost means that this machine.

But how do i get that IP?

  • Go to Command Prompt: Start >> Run or Windows + R and type cmd >> Enter
  • Follow by ipconfig and take a look at IP Address
link|improve this answer
feedback

Thanks guys. It worked. I had to configure Guest OS's firewall to allow incoming connections to the webserver though!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.