How do I connect to vm by host name

PierreT

Bit poster
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
 
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
 
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
text-smiley.png
 
Back
Top