nativeInstaller

Open or close server ports

Open server ports for remote access

In many cases, it is necessary to open additional ports for your application(s) to function correctly.

  • From the Windows Control Panel, navigate to the “System and Security -> Windows Firewall” section and click the “Advanced Settings” menu item.

    Firewall configuration

  • In the “View and create firewall rules” section, select the “Inbound Rules” menu item.

    Inbound rules list

  • In the “Actions” sub-menu, select the “New Rule…” menu item. This will launch a wizard to create a new inbound access rule.

    New rule creation

  • In the “Rule Type” dialog of the wizard, select “Port” as the rule type. Click “Next” to proceed.

    Rule type selection

  • In the “Protocol and Ports” dialog of the wizard, select “Specific local ports” and enter the port number of range you wish to allow access on. Click “Next” to proceed.

    Port selection

  • In the “Action” dialog of the wizard, select “Allow the connection”. Click “Next” to proceed.

    Action selection

  • In the “Profile” dialog of the wizard, check the “Domain” and “Private” options. Click “Next” to proceed.

    Profile selection

    NOTE: For security reasons, we recommend that the “Public” option should remain unchecked unless you have additional restrictions in place to ensure access from only trusted IP addresses or IP ranges.

  • In the “Name” dialog of the wizard, enter a descriptive name for the inbound rule. Click “Finish” to save the new rule.

    Name entry

The new rule should appear in the list of inbound rules and will come into effect immediately.

Close server ports and deny remote access

In some cases, it is necessary to close ports for your application(s) to increase security. Follow these steps:

  • From the Windows Control Panel, navigate to the “System and Security -> Windows Firewall” section and click the “Advanced Settings” menu item.

    Firewall configuration

  • In the “View and create firewall rules” section, select the “Inbound Rules” menu item.

    Inbound rules list

  • From the list of inbound rules, find the rule for the port you wish to close. Select the rule and click the “Delete” menu item to delete the rule and close the corresponding port.

    Inbound rule deletion

The rule should disappear from the list of inbound rules.

Last modification August 30, 2018