无法设置对Amazon EC2 Windows Server 2008 R2实例的FTP访问

我试图设置FTP访问我的Windows 2008 R2实例。 我在这里遵循指南:

http://handziuk.com/blog/post/2014/10/01/setting-up-ftp-access-to-windows-2008-r2-through-amazon-ec2

和这里:

https://stackoverflow.com/questions/26470039/how-to-enable-ftp-passive-mode-for-amazon-ec2-server-with-iis

我做了以下几件事:

  1. 在IIS中安装FTP服务
  2. 在IIS中设置一个FTP站点,指向我想要访问文件的目录。
  3. 在服务器级别configurationFTP防火墙支持使用端口41000-41099和我的弹性IP的外部IP地址
  4. 运行以下命令:

    netsh advfirewall firewall add rule name=FTP_Service action=allow service=ftpsvc protocol=TCP dir=in netsh advfirewall set global StatefulFTP disable 
  5. 在端口41000-41099和21的实例安全组中添加了必要的入站规则

  6. 重新启动FTP服务。

但是,在FileZilla中,我仍然无法使用弹性IP和pipe理员login凭据进行连接。 我得到这个错误:

 Status: Connecting to Elastic IP... Status: Connection established, waiting for welcome message... Error: Connection closed by server Error: Could not connect to server Status: Waiting to retry... Status: Connecting to Elastic IP... Status: Connection established, waiting for welcome message... Error: Connection closed by server Error: Could not connect to server 

您是否尝试通过安全组设置打开端口21? ( AWS安全组设置 )