Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why I can't ping Azure VM from my local PC [closed]

I have a Windows VM on Azure and I don't understand why my ping times out. I found a probable reason: on Azure portal I see public IP "40.127.163.20", but inside VM when I do ipconfig I see different IP that is strange.

Do you have any ideas?

enter image description here

like image 595
Vnuuk Avatar asked Feb 29 '16 15:02

Vnuuk


1 Answers

ICMP protocol is not permitted through the Azure load balancer (inbound or outbound) which means that you can't do a simple ping to your VM. There is a : user voice request for this to be enabled here.

This blog here describes how you can use a port ping as an alternative.

There is some documentation on how to set up an Instance Level IP, which would circumnavigate the load balancer and give direct communication to the Virtual Machine, but I haven't tried this approach (I'm giving it a go right now, will report back)

like image 105
Martin Beeby Avatar answered Nov 14 '22 13:11

Martin Beeby