我遵循了所有指南,但就是无法通过 ftp 登录。
...
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.
Run Code Online (Sandbox Code Playgroud)
甚至在 iptables 中也有它:
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpts:12000:12100
Run Code Online (Sandbox Code Playgroud)
我已将min和max端口设置vsftpd.conf为12000-12100并通过 AWS 控制台启用了相同的端口。