What ports do I need to open for me to be able to access Windows FTP server (running on Server 2008) for both active and passive FTP? Opening 21 on it's own is not enough.
Firewall – How to configure Windows Firewall for FTP Server
firewallportwindows-firewall
Related Topic
- Firewall – What ports does Wininet listen on for Active FTP data connection
- Firewall – way to run FTPS on Windows Server 2008 / FTP 7.5 through a Firewall
- Firewall – Active FTP client blocked by Windows Firewall on Windows 7
- How to i open correct ports on windows firewall for apache instead of using all
- Windows – Configure Windows Server 2016 Firewall for FTP
Best Answer
Depends on if you're using Active or Passive ftp. Here's the chart from this site which has a great explanation of the differences from a port perspective:
So:
If you're going to use Passive ftp the best thing to do is to configure the ftp server to use a specific (limited) port range for the client to connect to for the data stream and then open that range on the firewall.