Cloud host (server) can not pass PING and port open question, how to set up security groups

The first time you use the cloud host, there will be some areas that need attention, such as: remote login but can not ping the host cloud, cloud host after installing the database, not remotely connect, set up a mail server but can not send mail, etc., these major They are involved in open ports.

Billion, Preface

Cloud service providers host firewall usually has two, one is the host's own firewall to windowsServer an example is the "windows firewall"
Here Insert Picture Description
There is a cloud service provider 网络安全组, here are Tencent and Baidu cloud cloud网络安全组

Here Insert Picture Description
In the case of the top two floors are open, open the relevant port is considered
the most important thing is to know 安全组how to set
blogger Tencent cloud following example, the record open 1234ports Step
1. Log Tencent cloud into 云服务器the left side find the security group on the menu
Here Insert Picture Description
2. click to enter, the new, in 模版that we choose the second, which is commonly used ports open
Here Insert Picture Description
3. created, we select the rule you just created, click 修改规则, add a rule, the following chart should be very clear the
Here Insert Picture Description
4 host response associated with cloud security group, into the cloud server page, click on the following button in the pop-up interface you select just the new security group policy on the line
Here Insert Picture Description

First, not PING through the cloud host (server)

First, Paul login to your cloud host, open the Control Panel => windows Firewall => Advanced Settings => Inbound Rules => found 文件和打印机共享(回显请求 - ICMPv4-In)that, if not open then double-click to start

Here Insert Picture Description

Then check your "network security group" View "ICMP" whether to open

Tencent cloud: Security Group
Here Insert Picture Description

Second, in response to an open port

For example mssql database, you need to open port 1433, general security group has preset configuration information, if preface Tencent cloud settings, there will be a key to open some of the common ports
and is set in the windows, in the Preface advanced settings to create a new inbound rule on the line, or simply close the "windows firewall" once and for all

Published 62 original articles · won praise 68 · views 160 000 +

Guess you like

Origin blog.csdn.net/ZUFE_ZXh/article/details/104297132