I have set up file sharing and SQL Server instance connectivity between two VMs (testPC01, testPC02) in a Virtual Network on Azure.

The problem is that I cannot connect between these VMs by name (testPC01, testPC02), but only by their IP addresses (10.0.0.4, 10.0.0.5). I cant even ping the names.

I haven't fiddled with any network settings. These are fresh VMs.

How can I resolve by name and not by IP?

有帮助吗?

解决方案

see similar thread: Azure VMs Virtual Network inter-communication

you will have to configure your own DNS for name resolution.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top