在阿里云ECS上用FileZilla Server搭建FTP
FileZilla Server下载安装完成后,必须启动软件进行设置
可参考FileZilla Server超详细配置
filezilla server设置后FTP异地连接不上问题解决?
-
先在服务器的防火墙把filezilla的Filezilla server.exe都加入防火墙的例外。
路径为:控制面板\系统和安全\Windows 防火墙\允许的应用 -
添加ftp默认端口21,一是添加防火墙里的端口,另外一个是添加云服务器安全组规则里面的端口
服务器防火墙:
控制面板\系统和安全\Windows 防火墙–》高级设置
依次点击 端口—tcp----特点本地端口(21)----后续默认即可。
阿里云防火墙:(如果没有云可省略) -
在服务器本地系统服务中看到了一个服务名称为FileZilla Server FTP server的服务没有启动,设置成启动就可以了。如果启动没有问题,那就ok了。
之后就可以就可以输入ftp://ip地址访问了
异常“Warning:You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router”的解决方式
在filezilla serve软件里的被动模式传输使用的外部服务器IP地址写你的本来主机IP
打开Filezilla以后面板里红字显示"FTP over TLS is not enabled, users cannot securely"
原因:未启用TLS模式。
出坑:
打开Settings
选FTP over TLS settings,勾选Enable FTP over TLS support,然后点击中间Generate new certificate…按钮
空白处都可以随便填,注意Common name (Server address)那里填127.0.0.1就行了,下面给**和证书选一个保存的位置,然后点最下方Generate certificate
然后在Key password填个**密码,随便填一个用不到的,最后点击左下OK,再打开Filezilla就不会有错误提示啦~~