Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, December 23, 2014 10:09 AM | 1 vote
hi ..
I am trying to connect my local system in the internet, with the azure virtual machine through its public ip .
I am unable to ping vm public ip ,getting Request timed out message.
but I am able to ping successfully using psping.
I want to access azure vm machine through its public ip address from my local machine to run my application.
is there any possibilities for this, any help would be appreciated..
All replies (2)
Tuesday, December 23, 2014 12:30 PM ✅Answered
Hi,
Firstly, the ICMP packet is disabled in Azure by default. You can RDP into the Azure VM and enable File and Printer Sharing (Echo Request - ICMPv4-In) firewall inbound rule on the VMs.
In addition, all the VMs in the same cloud service share the same public IP address. To access an Azure VM, you need to use an endpoint with the public IP address together. The public port in an endpoint is used by the Azure load balancer to communicate with the virtual machine from external resources. You can create an endpoint for the application and open that public port in Windows Firewall on the VM to achieve that.
More information:
How to Set Up Endpoints to a Virtual Machine
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, December 23, 2014 12:36 PM ✅Answered | 1 vote
Hi,
The ICMP traffic is blocked by the Azure load balancer and the ping requests timeout.
Note that while this applies to network traffic going through the external IP (VIP) through configured endpoints, ICMP is not blocked when connecting through an Azure virtual network gateway or ExpressRoute. Also, ICMP will work between internal IPs of VMs in the same virtual network or in the same cloud service.
To test connectivity, we instead recommend that you do a port ping. While Ping.exe uses ICMP, other tools such as PsPing, Nmap, or Telnet allow you to test connectivity to a specific TCP port.
Hope this helps !
Regards,
Sowmya