I got an Alibaba Cloud server ECS with the minimum configuration, and installed nginx. After the configuration, I can access it locally, but I can't access it with the public IP. I found that there was something called a security group to set up, and I entered the cloud server management console. , find the security group, click Configure Rules on the right
He originally had several rules for the incoming direction and one rule for the outgoing direction. I deleted all the rules for the original incoming direction. Click Add Security Group Rules to set
I set it to be able to access all ports