2014-10-20 31 views

回答

16

下面的链接是我最终解决它的。如果链接停止工作,我将重点介绍以下主要内容。

https://forums.aws.amazon.com/thread.jspa?threadID=98905

  1. 在IIS中,彰显顶级服务器(不是FTP站点)。点击FTP防火墙支持。在数据通道端口范围下,设置一个小范围,例如41000-41099。在您的弹性IP地址的外部IP地址下。启用49152-65535也可以,但由于打开的端口数量较多,可能不太安全。

enter image description here enter image description here enter image description here

  • 打开Windows为FTPSVC防火墙。禁用StatefulFtp全局设置:
  • netsh advfirewall firewall add rule name=FTP_Service action=allow service=ftpsvc protocol=TCP dir=in

    netsh advfirewall set global StatefulFTP disable

    enter image description here

  • 从管理命令提示符下,重新启动Microsoft FTP服务,以确保所有更改均生效:
  • net stop ftpsvc

    net start ftpsvc

  • 打开相应的100个端口,例如21和41000-41099,在您的EC2安全组中。或者如果你走这条路线,就是49152-65535。 enter image description here enter image description here
  • 相关问题