Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Windows XP, in which I have installed a Windows Server 2003 VM on Virtualbox.

I have hosted my website in the guest server with IIS.

I am able to access that site by using following link in the guest OS

http://localhost/Test/index.aspx

The IP address of the guest is 172.16.1.10

I want to access the web site from the host OS. I am trying the following URL in Internet Explorer

http://172.16.1.10/Test/index.aspx

but I am not able to access the site. How can I fix this?

share|improve this question

Try setting the virtualbox network configuration to bridged, This way it will put itself inside of the same network as the host and I think you might have more luck connecting to it.

share|improve this answer
    
+1 Given all the problems created by the NAT mode I really wonder why the default isn't bridged mode, which in most cases is the only mode that makes any kind of sense. – John Gardeniers Mar 24 '11 at 10:40
1  
@JohnGardeniers Because of only one reason, Security :D – Jassi Jun 16 at 6:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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