Ask the Expert

Adding new applications in Windows Firewall

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).

This was first published in October 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: