WordPress knowledge sharing

The security group of the newly purchased Tencent virtual machine is not released, which makes the website and database inaccessible

There are two giants of domestic VM, Tencent VM and Alibaba VM, which are among the best in terms of configuration, access speed and security. Recently, netizens bought a Tencent virtual machine and planned to migrate the website to the past. After installing the lnmp environment, they could not open the website and database. They went to Weieis Blog for help and found it was a new one Tencent virtual machine security group The website and database cannot be accessed due to non release.

After you open Tencent virtual machine, you need to add several ports in the security group, log in to the Tencent virtual machine management console, find the security group and click the region where your website is located (the picture is too large and not completely intercepted), and follow the prompts below.

Lao Wei suggested that the pagoda panel is suitable for novices and Xiaobai to build a website, and supports Linux and Windows systems, Click to go directly to the pagoda website Register an account and get a free professional edition gift package of ¥ 3188 (only 1188 yuan for permanent authorization of the professional edition). New users can enjoy a professional edition experience of 0.99 yuan for 7 days.
Recommended selection of pagoda panel Alibaba Cloud Tencent Cloud The server
For more information, see Special topic of pagoda panel
Click to view NetEase Cloud Classroom "Introduction to Pagoda Linux Panel for Novice"

1. Add an Internet access port. After viewing the rule, click Edit Rule to add a new line. The rule protocol is TCP, port 80, and save.

2. Add a new SSH port. The default SSH port of Linux is 22, which is generally changed for security reasons( How to modify the Cent OS default SSH port )。 After modification, you need to add it to the security group and save it. Otherwise, your SSH software cannot link to the server.

If you have added other self use ports, you should also add them to the security group. The newly purchased Tencent VM and AliCloud VM must go through such a step of release setting, otherwise the Internet will not be able to access your website. This situation is easy for newcomers who have not used these two hosts. You can use this article to operate, and the website and database can be accessed normally.

Like( zero )
Article name: "The website and database cannot be accessed because the security group of the newly purchased Tencent virtual machine has not been released"
Article link: https://www.vpsss.net/2153.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.