Access localhost from Windows Vista IE 7 with Parallels 8

Discussion in 'Windows Virtual Machine' started by FlorentG2, Jun 1, 2014.

  1. FlorentG2

    FlorentG2 Bit poster

    Messages:
    6
    Hello,

    I have a local application accessible from my Mac (OS X 10.9.3) at localhost:3000. I want to access it from Internet Explorer 7 in my VM Vista 7 that runs inside Parallels 8.

    In my Mac preference systems > Networks I can see in "Parallels Shared #0" the IP address 10.211.55.2.

    From the Windows command line when I run ping 10.211.55.2 I get

    Pinging 10.211.55.2 with 32 bytes of data:
    Reply from 10.211.55.2: bytes=32 time<1ms TTL=64
    Reply from 10.211.55.2: bytes=32 time=16ms TTL=64
    Reply from 10.211.55.2: bytes=32 time=1ms TTL=64
    Reply from 10.211.55.2: bytes=32 time=15ms TTL=64

    Ping statistics for 10.211.55.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimun = 0ms, Maximum = 16ms, Average 8ms

    But in Internet Explorer when I try to http://10.211.55.2:3000 it does not work, "The webpage cannot be displayed" is displayed.

    Is there anything else I should set in Parallels, my Mac preferences or Windows Vista to make it work? Thanks!
     
  2. Ram@Parallels

    Ram@Parallels Parallels Support

    Messages:
    759
    Hi FlorentG2,

    Please Change the network type: Go to VM Configure (http://kb.parallels.com/117287) > Hardware > Network > Select Network type > choose "Default Adapter" > restart Windows and let us know how it works.
     
  3. FlorentG2

    FlorentG2 Bit poster

    Messages:
    6
    Thanks for your answer Ram. I've just done that and restarted Windows, but it still does not work. I get the same error message in Internet Explorer, and now the ping command fails:

    > ping 10.211.55.2

    Pinging 10.211.55.2 with 32 bytes of data:
    Reply from 190.222.0.213: Destination not reachable.
    Request timed out.
    Request timed out.
    Request timed out.

    Ping statistics for 10.211.55.2:
    Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),
     
  4. Specimen

    Specimen Product Expert

    Messages:
    3,236
    Check the Firewall on OS X.
     
  5. FlorentG2

    FlorentG2 Bit poster

    Messages:
    6
    The OS X firewall is deactivated on my machine.
     
  6. Ram@Parallels

    Ram@Parallels Parallels Support

    Messages:
    759
    Hi FlorentG2,

    Please Check the IP address in Windows Virtual Machine before you perform “ping” because the IP address will be changed in Windows VM once the Network type is changed to “Default adapter”(Bridged Network).
     
  7. FlorentG2

    FlorentG2 Bit poster

    Messages:
    6
    How do I check the IP address in Windows Virtual Machine? Thanks for your help.
     
  8. Specimen

    Specimen Product Expert

    Messages:
    3,236
    Since you are using the command line you can type:
    ipconfig

    What Ram means is that when you switch to Bridge mode you are on the same subnet in windows as osx instead of the 10.211... sub, as such you should ping OSX LAN IP (the one the physical router gives), Windows will also get the IP from the the router.
     
    Last edited: Jun 2, 2014
  9. FlorentG2

    FlorentG2 Bit poster

    Messages:
    6
    Thanks Specimen. With ipconfig I get

    IPv4 Address 192.168.0.41
    Default Gateway 192.168.0.1

    Ping works with these 2 IP addresses (4 packets sent, 4 received, 0 lost).

    But when I try to reach 192.168.0.41:3000 or 192.168.0.1:3000 with IE7, I still get "The webpage cannot be displayed".
     
  10. Specimen

    Specimen Product Expert

    Messages:
    3,236

    IPv4 Address 192.168.0.41 <--- your Windows VM
    Default Gateway 192.168.0.1 <--- Your physical router

    The IP you want is the OS X one. You can check this in Network Preferences.
     
  11. FlorentG2

    FlorentG2 Bit poster

    Messages:
    6
    Thanks a lot Specimen. With the OS X IP it works.
     

Share This Page