Home>Article>Operation and Maintenance> How to open Alibaba Cloud server port

How to open Alibaba Cloud server port

步履不停
步履不停 Original
2019-06-13 14:55:57 6565browse

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

How to open Alibaba Cloud server port

Cloud console

Click on the red letter 3 Enter the cloud server page.

Step 2: Enter the security group configuration

How to open Alibaba Cloud server port

Enter the security group configuration

Click ## on the far right #More, findSecurity Group Configurationand click to enter.

Step 3: Click to configure the rules

How to open Alibaba Cloud server port

Click to configure the rules

Step 4: Click to add security group rules

How to open Alibaba Cloud server port

Click to add security group rules

Step 5: Configure specific rules

How to open Alibaba Cloud server port

Specific configuration rules

●Port range. The default port of Nginx is 80, here we write

80/80

 ● Authorization object. What ip can be accessed,

0.0.0.0refers to all ip addresses, you can also specify the ip that can be accessed;

 ● Description. Record what program is running on this port.

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 the

Nginx usage tutorialcolumn 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How nginx shares session Next article:How nginx shares session