Available article translations:

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

  • Parallels Desktop 11 for Mac Home Edition
  • Parallels Desktop 10 for Mac Home 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 a9c6e0b6a5209e617a7c0dd5eace86cf 39e36b0abb33520c52ec8a15b563c41d 97a8ac9f376ccb34ff8a388d158b8d2e

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