How do I connect to vm by host name

Discussion in 'Windows Virtual Machine' started by PierreT, Oct 9, 2011.

  1. PierreT

    PierreT Bit poster

    Messages:
    2
    I have a Windows 7 VM. I want to be able run a windows server application, and connect to it from my host over http (and other protocols). I have disabled windows firewall, and still no luck.

    In terminal when I try to ping the host name, I get the following error
    ping: cannot resolve <hostname>: Unknown host


    I can connect to the vm via IP address, so its certainly not a network connectivity issue.


    Any help is greatly appreciated. Thanks
     
  2. Manski

    Manski Bit poster

    Messages:
    5
    Do you still have this issue?

    The problem is that the computer name of your Windows VM is not a DNS name (which you want to used instead of an IP address). I just finished an article about how to assign a DNS name to a virtual machine. I stumbled over this thread while researching a solution. Maybe I'll help you. You can find it here:

    Assign DNS name to virtual machine (here: Parallels Desktop 7)

    Regards
    Manski
     
  3. SakibS

    SakibS Hunter

    Messages:
    102
    Please ping the DNS ...
    ping www.example.com
    Ping DNS IP address
    ping 192.168.1.xx

    If successful then connect host over http. If not successful then make sure the network connectivity.

    ____________

    SakibS [​IMG]
     

Share This Page