我试图设置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
我做了以下几件事:
运行以下命令:
netsh advfirewall firewall add rule name=FTP_Service action=allow service=ftpsvc protocol=TCP dir=in netsh advfirewall set global StatefulFTP disable
在端口41000-41099和21的实例安全组中添加了必要的入站规则
但是,在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安全组设置 )