This topic describes how to query security group rules. After you add security group rules, you can query their details in the console.
- Log on to the ECS console.
- In the left-side navigation pane, choose .
- In the top navigation bar, select a region.
- Find the security group whose rules you want to query, and then click Add Rules in the Actions column.
- Click a rule direction to query the corresponding security group rules.
- If the security group is of the VPC type, select Inbound or Outbound.
- If the security group is of the classic network type, select Internal Network Ingress, Internal Network Egress, Internet Ingress, or Internet Egress.