Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

trying to setup my virtualbox copy of windows xp and have it be able to access my host computer's (win7) IIS 7 express localhost:33369

the virtualbox ipconfig

IP Address:
Default gateway:

the win 7 ipconfig on the virtualbox adapter

 IPv4 Address. . . . . . . . . . . :
 Subnet Mask . . . . . . . . . . . :
 Default Gateway . . . . . . . . . :

in xp, I tried adding to the ..etc/hosts file, but when loading up in ie6, it doesn't route to my win7 host's version of localhost:33369.

any idea what I'm doing wrong? I think it works fine for port 80 (since this was working for xampp before).. I'm just not able to run this specific site on IIS's port 80 on the win7 machine. it must be on port 33369

Update: current state, on xp,

  1. i've set to in hosts file
  2. navigating to in ie6, i get my IIS default screen (port 80)
  3. Visual studio -> View in Browser -> launches site on win7 on localhost:33369
  4. in ie6 on xp, i visit and am unable to view the site on host machine
share|improve this question

closed as off-topic by Michael Hampton Nov 28 '15 at 9:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – Michael Hampton
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

The host file entry should be "" on the guest while the access URL on the guest web browser should be "" instead.

share|improve this answer
Or "" as it is stated as both - basically the entry should be the "default gateway" of the guest ipconfig output. Likewise for the access URL as well. – user48838 Jun 15 '11 at 18:47
so I set it up just like you said, when I visit, i hit the iis default on 80, but when I type it doesn't retrieve the page properly – tester Jun 15 '11 at 18:52
I'm on the NAT network adapter mode.. I don't think i have to do any port forwarding or anything else.. very confusing – tester Jun 15 '11 at 19:00
Is your IIS setup for 33369 and not 80 or is it setup for both ports? – user48838 Jun 15 '11 at 19:00
You do not need to touch any of port forwarding in this case if the services are on your host. You do need to have your host configured correctly though. – user48838 Jun 15 '11 at 19:04

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