user3753780
user3753780

Reputation: 1

Unable to ping from the SQL server in Azure

I have 3 VMs in Azure, one of them is DC and DNS, the other one is going to be SCCM, the ther one is SQL server.

I joined the two VMs to my DC. They have correct IP config. One of them is just fine. I can ping DC from the SSCM and vice versa.

But from the SQL server I cannot ping. nslookup does not work correctly either, but the IP config is correct.

Does any one know where is the problem?

Note: DNS server is fine. Also, I have records in DNS server that are pointing to SCCM and SQL.

Upvotes: 0

Views: 1192

Answers (1)

Rick Rainey
Rick Rainey

Reputation: 11256

Ping is disabled by default on the Windows Server VM's. Sign-in to the VM you want to ping and open the Server Manager (icon in the lower left corner).

In the upper right corner where the menu is, select Tools -> Windows Firewall with Advanced Security. Click on the Inbound Rules in the left navigation, locate the File and Printer Sharing (Echo Request - ICMPv4-In) rule. Right-click on it to enable it.

enter image description here

Now you should be able to ping it from other VM's in your Virtual Network.

Upvotes: 1

Related Questions