I created a virtual network in Azure and added few VMs in it. My expectation was to Ping/Access each machine from the other machine in the same network. However, machines don't seem to recognize each other. Virtual Network and the machines in them

<?xml version="1.0"?>
    <NetworkConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">




-<VirtualNetworkSite Location="East US" name="AshishGupta">





-<Subnet name="Subnet-1">







  • 1
    You should post this to ServerFault, since it's network-related and not programming-related. Mar 9 '15 at 14:54

If by "don't seem to recognize each other" you mean you can't send and receive ICMP pings that's because ICMP is disabled on Azure VMs.

Try opening a TCP socket on the desired port running the service to which you want to verify connectivity instead:

PS C:\Windows\system32> New-Object Net.Sockets.TcpClient "", 8043

Client              : System.Net.Sockets.Socket
Available           : 0
Connected           : True
ExclusiveAddressUse : False
ReceiveBufferSize   : 65536
SendBufferSize      : 65536
ReceiveTimeout      : 0
SendTimeout         : 0
LingerState         : System.Net.Sockets.LingerOption

NoDelay             : False

This isn't specific to Azure, but check your firewall settings. If you can't even ping the VM and you are sure it's up, make sure ICMP ECHO is not blocked by your firewall.

  • I am able to remote into the VMs from my desktop. Can't ping VMs from one another. Mar 9 '15 at 5:37
  • Being able to RDP into the VM isn't the same as being able to ping it.
    – Simon W
    Mar 9 '15 at 11:36
  • ICMP is disabled in Azure, so ping isn't a good troubleshooting tool.
    – Wesley
    Mar 9 '15 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.