XP and Win2k3. Network between internet, host, and guest

Discussion in 'Virtual PC' started by Paul Rogero, Feb 15, 2004.

  1. Paul Rogero

    Paul Rogero Guest

    Ok, here is my problem. I have my host computer running
    Windows XP Pro. I have virtual pc running Windows .Net
    Server 2003. I want to be able to serve webpages from the
    Virtual PC running .Net Server to the internet and I also
    want to be able to communicate between XP Pro on the Host
    computer and the .Net Server on the Virtual PC.

    I have my internet coming into my only physical network
    card. My host computers ip address to the internet is
    141.213.197.150. I have VPC set up to use the loopback
    adapter. The loopback adapter on my host pc has
    192.168.0.1 as its IP address. Windows .Net Server on my
    VPC has an IP address of 192.168.0.138. Now I can ping
    back and forth between both computers. I can get surf the
    web on both computers. I have internet connection sharing
    set up on my host pc's internet network card. I have it
    forwarding port 80 to 192.168.0.138 because I want to host
    a website with my virtualpc running .Net Server. However,
    the forwarding doesnt work. I set my browser to
    141.213.197.150 thinking it will then show the webpage
    hosted on the virtual pc, however, it doesn't forward it.
    It just shoes the website from the host pc. And when I
    disabled IIS on the host pc it stopped showing any webpage
    whatever. It just says refused request. I can visit
    the webpage from either computer by typing in
    192.168.0.138 but nothing comes up for 141.213.197.150 If
    anyone has any ideas I would appreciate it. Below is a
    quick rundown of the specs again.

    VirtualPC:
    (using the loopback adapter)
    Windows .Net Server 2003
    Ip Address: 192.168.0.138
    SubNetMask: 255.255.254.0
    Gateway: 192.168.0.1

    Host PC:
    Windows XP Professional
    Network Card 1 ( this one is connected to the internet)
    (running internet connection sharing but no firewall)
    IP Address: 141.213.197.150
    SubnetMask: 255.255.254.0
    Network Card 2 ( loopback adapter )
    IP Address: 192.168.0.1
    SubnetMask: 255.255.254.0
     
    Paul Rogero, Feb 15, 2004
    #1
    1. Advertisements

  2. Paul Rogero

    pml Guest

    Try accessing your web page from "outside" using an external proxy (eg
    www.anonymizer.com or the "safe browser" at samspade.org) or as a friend to
    surf to your machine and see if that yeilds a different result. It's likely
    that either the ICS does not "capture" traffic from within your host
    machine.

    Besides, shutting down the web server on the host probably was a good idea.
    Having a server running on the same port and IP address that you expect to
    have another server running seems not to be a good idea when there is
    trouble. ;-) A suggestion is to change the port of the web server on the
    host from 80 to something else, like 81 or 8080.
     
    pml, Feb 15, 2004
    #2
    1. Advertisements

  3. Paul Rogero

    Guest Guest

    You were right about not being able to access it from my
    own machine. I tried to access it from a different page
    and it worked. Thanks for the help.

    Paul
     
    Guest, Feb 15, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.