1. First open the control panel of the computer, and then find the firewall in the control panel;
2. Select and click Advanced Settings on the left side of firewall settings;
3. In the advanced security settings, we click to select the inbound rule on the left;
4. Select and click New Rule in the right column;
5. Select the port type of the rule type;
6. Select tcp protocol, specific port and port itself, such as 4444;
7. Select the operation strategy that allows connection;
8. When to apply the rule, all are selected by default;
9, port name and description, self-painting;
10, after exiting, we will see that the inbound rule is created, which is allowed by this port.