How to enable ping operation for win2008 system server

During development, if we cannot open a website, the first thing we think of is to ping the domain name of this website to see if it is a server problem.

Or in another case, the website is deployed on multiple servers at the same time, and there is a problem with one of the lines, but we are not sure which line is, we will choose to test the problematic line computer, ping the domain name , You can know which line and which server it is.

There are many other situations where the ping operation will be used. At this time, there will be an illusion that the server cannot be pinged, but the server can be accessed remotely. The above phenomenon is what I want to talk about today
. Ping operation is enabled and disabled on the server. The ping operation method is enabled: Method 1: After entering the server in command line mode, click Start-run the input command: 01netsh firewall set icmpsetting 8 so that you can ping externally Arriving at the server is very simple and practical!
Method 2: Firewall advanced panel method 1. Enter the control panel -> Administrative Tools -> find "Advanced Security Windows Firewall" 2. Click on the inbound rules
3. Find the echo request-ICMPv4-In (Echo Request-ICMPv4-In ) 4. Right-click the rule and click "Enable rule (Enable)
4." Disable ping operation method:
5. Method 1: After entering the server in command line mode, click start-run the input command: [Shell] plain text view copy code? 01netsh firewall set icmpsetting 8 disable In this way, the server cannot be pinged externally, and the connection timeout is always displayed
. Method 2: Firewall advanced panel method 1. Enter the control panel -> management tools -> find "Advanced Security Windows Firewall 2. Click on the inbound rule 3. Find the echo request-ICMPv4-In (Echo Request-ICMPv4-In) 4. Right-click the rule and click "Disable Rule"

Guess you like

Origin blog.csdn.net/weixin_45841668/article/details/108535100