Available article translations:

Unable to connect to Virtual Machine's IIS (web-server) using Host web browser

  • Parallels Desktop 11 for Mac Standard Edition
  • Parallels Desktop 10 for Mac Standard Edition
  • Parallels Desktop 9 for Mac Standard Edition


When I am trying to connect to the Guest web-server (IIS) using Host (Mac) browser by typing the url (Guest IP address), the connection failed


  • Windows firewall is preventing successful connection
  • /etc/hosts file on Mac should be edited


Please follow these steps:

  1. Turn OFF Windows Firewall
  2. Edit Mac Hosts file to include this line: 198.168.x.x Guest_Computer_Name (please note that the IP address equals the virtual machine's IP)

    • open Terminal application (Finder/Applications/Utilities/Terminal)
    • execute these commands one by one and hit Return/Enter after each command:

      sudo su

      (enter the password for your Mac user account, you will not see the letters)

      vim /etc/hosts  

    Now you are able to edit the file:

    • press i key to invoke "insert" mode of the text editor (vim)
    • write the following:

      198.168.x.x Guest_Computer_Name    
    • press Esc button in order to exit "insert" mode
    • press Shift+Z Shift+Z to save the file and exit it.
  3. Once you have done editing, please try to connect to Guest's IIS from Host's browser.

1e5db16426987d561060acdf56d947b4 3307fff3682b15f0ba3fbe13d779296d df4909b7dd0609a3c148f007041db6d9 ae069407387ff6d2cdd44f3842d61cf7 837e6c2dfd4fe5573cb6701d781382b4

Was this article helpful?
Tell us how we may improve it.
Yes No