Problem solve Get help with specific problems with your technologies, process and projects.

Adding new applications in Windows Firewall

Learn how to add new applications in Windows Firewall using port 21.

In Windows Firewall, how would I add new applications named "FTP" using "TCP" port 21?
You can accomplish this by opening the Windows Firewall from the control panels and then selecting the Exceptions tab. Click the Add Port button, give the service a friendly name such as FTP, type 21 in the port field and select TCP from the radio buttons. Click OK until you are out of the Windows Firewall dialog. This change should take effect immediately; you will not need to restart your computer.

Alternatively, you can use RegEdit to make this change on your computer or on a remote computer. (You will need administrative rights to do this.)

  1. Open RegEdit on the PC to which you're logged on.
  2. Connect to the remote PC if desired.
  3. Navigate to the following key:
  4. HKEY_LOCAL_MACHINESYSTEM/CurrentControlSet/Services

  5. Create a new string (REG_SZ) value. Name it 21:TCP
  6. Give it the following value: 21:TCP:*:Enabled:FTP
  7. Close RegEdit.

Note that the Registry entry as defined above will permit FTP access to that workstation from all IP addresses (as indicated by the asterisk).

Dig Deeper on Enterprise desktop management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.