Ubuntu上的vsftpd被动模式问题(EC2)

我遵循每一个指南,但不能通过FTPlogin。

... 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. 200 Switching to Binary mode. local: 21 remote: 21 229 Entering Extended Passive Mode (|||12028|) 550 Failed to open file. 221 Goodbye. 

甚至在iptables中:

 $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpts:12000:12100 

我将vsftpd.confminmax端口设置为12000-12100并通过AWS控制台启用相同的端口。