Search code examples
iisamazon-ec2ftpwindows-server-2012-r2windows-firewall

Windows Firewall blocking FTP on IIS on windows server 2012 r2


I have successfully setup my FTP on Windows Server 2012 R2 by following this TUTORIAL. I am able to see my files by logging in to ftp and after fully disabling Windows Firewall. But couldn't connect even if

  1. I have allowed ftp through firewall.
  2. I have used this tutorial for configuring data channel port.
  3. I have made sure that corresponding ports are allowed through FTP.

But as soon as I have enabled Windows Firewall, I am unable to connect. Any help would be appreciated. Thanks


Solution

  • Apparently the default firewall rules don't work.Slucas Blog. I just added new rule for port 21 and everything worked like a charm.