You should use port numbers 1024 and above (up to 65535). You can configure a narrow range (like 10 ports), to limit a number of opened ports. The port range that the FileZilla FTP server is using, is configured in Edit > Settings > Passive mode settings > Use custom port rage.
#FILEZILLA PORT NUMBER FOR FTP WINDOWS WINDOWS#
You have to go to Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules > New Rule and add a new inbound rule for data port range your FTP server is using. You can connect, but you cannot list directories or transfer files.įor details, see my article on Network configuration for passive FTP mode. If you open only the 21 control port on the firewall, you get the described behavior. Now this is a wide range and I do not recommend opening. The port is picked out of a configured port range. By default the FTP client will connect through passive mode, and opens a random port between 1-65535. But for all data transfers, including directory listings, it listens on an additional port. If you want to connect using SFTP (FTP over SSH) enter the address. In the passive FTP mode (the most common mode nowadays), the FTP server listens on port 21 for an FTP control connection. If you want to connect using FTPS (FTP over SSL), enter the address as ftps://. In case you have not yet added port 21 to the Firewall you can use the same steps, but instead of using port 50100-51100 just use port 21.While this question is old, there's no really comprehensive answer. Click Next and give this rule a recognizable name: Passive FTP Ports - FileZilla.Select the zones where this rule need to be applied (in my case I have selected all the zones).Hit Next and make sure the Allow connection option is selected.Make sure TCP is selected, and enter 50100-51100 in the Specific local ports field.A windows pops up, select Port and click next.(Pro tip ? hit Windows Key + R → firewall.cpl → hit enter) The result should be Windows Firewall with advanced. Lets open up the Firewall panel, press the Windows key on your keyboard and start typing firewall. Now that you have finished setting up the custom port we can move forward to the Windows Server 2012 Firewall. Now make sure the checkbox Use custom port range is checked and enter 50100 in the first box a and 51100 in the second.From the tree menu click on Passive mode settings.Open up the FileZilla GUI on your server.So lets do this, configure FileZilla Server Passive Port Range:
#FILEZILLA PORT NUMBER FOR FTP WINDOWS DOWNLOAD#
Locate the installer in your download folder and run it. Download FileZilla Server from FileZilla website. Confirm you allow FileZilla Server to make changes to your device. Port: Enter Password: Enter the server password. Instead you can limit the range of these ports to let's say: 50100-51100. Filezilla configuration Host: Enter, which is localhost. Now this is a wide range and I do not recommend opening all these ports. By default the FTP client will connect through passive mode, and opens a random port between 1-65535. When port 21 is configurated in the Firewall, and you have setup the users/groups in the FileZilla Server setup you still can encounter the problem above. I had the following problem: Response:Ē27 Entering Passive ModeĮrror: Failed to retrieve directory listing Traditional FTP uses port 21, you should open this on your Firewall (see below) but even after opening up this port some errors can rise to the occasion when using passive ftp. Setting up the FileZilla Server is straightforward, but after configuration the user/groups and directory you can have some trouble setting up the Windows Server 2012 Firewall. If you do not know FileZilla Server or the Filezilla Client I strongly encourage you to try them out at FileZilla comes with a lite and lean GUI, great logging tools, connection (speed)limits and more. I prefer to use FileZilla FTP Server above the traditional IIS FTP module. Setup FileZilla Server Passive Ports on Windows Server 2012