I have deployed my ASP.NET application on Windows Server 2008 R2. Now, I want to block all ping requests to this server without affecting the operation of my ASP.NET application.
Here's the solution
Go to Start >> Administrative Tools >> Windows Firewall with Advanced Security >> Inbound Rules >> File and Printer Sharing (Echo Request – ICMPv4-IN) >> right click and select Enable Rule.
well now my application works fine and from cmd if you try to send ping request to my server u will not recieve any response. This is what i need :)