Help Center/ Elastic Cloud Server/ Troubleshooting/ Firewall Configuration Issues/ How Do I Disable a Windows ECS Firewall and Add a Port Exception on a Windows ECS Firewall?
Updated on 2023-03-30 GMT+08:00

How Do I Disable a Windows ECS Firewall and Add a Port Exception on a Windows ECS Firewall?

Scenarios

This section describes how to disable a Windows ECS firewall and add a port exception on a Windows ECS firewall.

The following operations are performed on an ECS running Windows Server 2012.

Enabling a firewall and configuring a security group protect your ECSs. If you disable a firewall, exercise caution when you enable ports in the security group.

Enabling or Disabling a Firewall

  1. Log in to the Windows ECS.
  2. Click the Windows icon in the lower left corner of the desktop and choose Control Panel > Windows Firewall.

  3. Click Turn Windows Firewall on or off.

    View and set the firewall status.

Adding a Port Exception on a Firewall

  1. Log in to the Windows ECS.
  2. Click the Windows icon in the lower left corner of the desktop and choose Control Panel > Windows Firewall.

  3. In the navigation pane on the Windows Firewall page, choose Advanced settings > Inbound Rules.

    You can view details about the programs and ports that can be connected to the ECS.

  4. Click New Rule in the Actions column.

    Enable ports as prompted. This section uses port 3333 as an example. To permit port 3333, perform the following operations:

    Select Port.

    Select a protocol type and set the port.

    Set a connection rule.

    Set the application scenarios of the rule.

    Name the rule.

  5. Verify that the traffic to the port is permitted on the firewall.

    Click the newly added rule to view its details and set other information, such as computer connection, allowed IP connection, and protocol type.