Home > Article > Operation and Maintenance > The default public network rules of the ECS instance security group were deleted, resulting in the inability to ping.
The content of this article is about the default public network rules of the ECS instance security group being deleted, resulting in the inability to ping. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. .
The default public network rules of the ECS instance security group are deleted, resulting in the inability to ping
Problem description:
ECS server Unable to ping. Check that the firewall and network card IP configurations are correct. After rolling back the system, the ping still fails.
Analysis and solution:
After investigation, it was found that because the ECS instance security group defaults to the public network If the rule is deleted, just reconfigure the public network entrance security group rules.
1. Log in to the Alibaba Cloud ECS console and click [Security Group] > [Configuration Rules].
2. Select [Public Network Inbound Direction]>[Add Security Group Rule].
3. Configure security group rules. The reference information of the default rules is as follows:
Network card type: Public network
Rules Direction: Inbound direction
Authorization policy: Allow
Protocol type: It is recommended to only open TCP and ICMP protocols for remote connections.
Port range: It is recommended to open only TCP protocol ports 22 (for SSH), 3389 (for remote desktop) and ICMP protocol (user PING detection) for detection and remote connections.
Authorization object: Enter the IP address that can connect to this instance.
Priority: 1
The following is an example of allowing PING detection and SSH connection:
4. After the configuration is completed, click [OK], perform the ping test again, and restore access.
The above is the detailed content of The default public network rules of the ECS instance security group were deleted, resulting in the inability to ping.. For more information, please follow other related articles on the PHP Chinese website!