Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my OS is Windows Server 2003. I installed the FTP Service and configure it with the IIS 6.0 Console. When I deactivate my firewall, all its okay, but when not, I can't get a connection. Port 21 tcp + udp, port 22 tcp + udp and the whole FTP-Server Application is set as go trouhgt, but don't work. Of course, the FTP ruins on 21.

Any ideas

share|improve this question
Ports 21 and 22? Better make that 20 and 21. – John Gardeniers Apr 19 '10 at 0:25
up vote 1 down vote accepted

In Windows Server 2003, if you are running FTP as C:\ftp localhost, that should work as FTP will be accessed over and that does not require any exception. But if you are accessing C:\ftp ip_address, you will be able to login but as soon as you fire dir or ls, you will be prompted by Windows Security Alert to add FTP in Unblocked or Blocked list. Unblock FTP Service and you should be fine.

Now, if you go to Control Panel -> Windows Firewall and click on Exception. You will find File Transfer Protocol checked i.e. now FTP is unblocked through the firewall.

You can also use netsh command as shown below to verify if FTP is in allowedprogram list.

netsh firewall>show allowedprogram

Allowed programs configuration for Domain profile:
Mode     Name / Program
Enable   File Transfer Program / C:\WINDOWS\system32\ftp.exe
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.