Home > Article > Operation and Maintenance > How to open Alibaba Cloud server port
I recently bought an Alibaba Cloud server. After installing Nginx, it could not be displayed normally in the browser. After checking for a long time, after confirming that it was not a problem with the configuration file, I went online. The reason was found. It turns out that Alibaba Cloud servers need to configure open ports in the cloud console. The default open port of Nginx is 80. If you go there and configure it, it will cure the problem. This article documents the configuration process.
Step one: Enter the cloud console
Cloud console
Click on the red letter 3 Enter the cloud server page.
Step 2: Enter the security group configuration
Enter the security group configuration
Click ## on the far right #More, find
Security Group Configuration and click to enter.
Step 3: Click to configure the rules
Click to configure the rulesStep 4: Click to add security group rules
Click to add security group rulesStep 5: Configure specific rules
Specific configuration rules●Port range. The default port of Nginx is 80, here we write80/80;
0.0.0.0 refers to all ip addresses, you can also specify the ip that can be accessed;
Step 6: Test
After completing this step, restart Nginx and you can access it normally on this machine. For more Nginx related technical articles, please visit theNginx usage tutorial column to learn!
The above is the detailed content of How to open Alibaba Cloud server port. For more information, please follow other related articles on the PHP Chinese website!