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

How to open Alibaba Cloud server port

步履不停
Release: 2019-07-19 14:00:29
Original
6682 people have browsed it

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, find Security Group Configuration and 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.0 refers 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 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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template