Skip to content



 

Enable passive FTP in Windows Firewall on Windows Server 2008

I was having problems getting passive FTP to work on Windows Server 2008 using the IIS FTP server. By default, only port 21 is open for FTP, but passive FTP ports are blocked. Since this port is selected at random, you cannot open a particular port to make this work. Instead, enabling stateful FTP allows the firewall to see that the connection is related to an existing connection and will allow the traffic.

To enable stateful FTP:

C:/> netsh advfirewall set global StatefulFtp enable

-Chris

GD Star Rating
loading...
GD Star Rating
loading...
Enable passive FTP in Windows Firewall on Windows Server 2008, 5.0 out of 5 based on 1 rating

Posted in Technology.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Dan says

    Bingo! Thank you Chris!

    For the search engines:
    DOS FTP worked. Unchecking “use passive FTP” in IE made it work for clients. This command populates Windows Firewall with Advanced Security if it wasn’t already.

    GD Star Rating
    loading...
    GD Star Rating
    loading...



Some HTML is OK

or, reply to this post via trackback.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word