比较来自世界各地的卖家的域名和 IT 服务价格

Amazon Ec2: 设置FTP服务器的问题

设置服务器后 vsFtp 在 Ec2 我的客户遇到了一个问题 - Filezilla

我收到这个错误

Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 500 OOPS: invalid pasv_address
Command: PORT 10,130,8,44,240,50
Response: 500 OOPS: priv_sock_get_cmd
Error: Failed to retrieve directory listing
Error: Connection closed by server
这是我的当前设置

vsftpd.conf

#nopriv_user=ftpsecure
#async_abor_enable=YES
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
GNU nano 2.0.6 File: /etc/vsftpd/vsftpd.conf
# #ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_enable=YES
pasv_min_port=2345
pasv_max_port=2355
listen_port=1024
pasv_address=ec2-xxxxxxx.compute-1.amazonaws.com
pasv_promiscuous=YES
注意:我已经在安全组中打开了这个端口,我的意思是试镜港,分钟。 最大限度。

如果有人向我展示如何解决它,我将非常感激
已邀请:

喜特乐

赞同来自:

或者

pasv_address

必须是外部IP地址,或

pasv_addr_resolve=YES

有必要安装,以便启动时允许您输入的主机名 vsftpd. 如果您使用主机名 pasv_addr_resolve, vsftpd 如果IP地址更改,则必须重新启动。

奔跑吧少年

赞同来自:

pasv_address = IP地址

你需要弹性 IP

要回复问题请先登录注册