2014-10-20 30 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
  • 相關問題