在Ubuntu上使用FileZilla Server自定义端口的步骤如下:
安装FileZilla Server:
/opt
目录下。cd /opt
sudo dpkg -i FileZilla_Server_1.6.1_x86_64-linux-gnu.deb
sudo lsof -i :21 -n
配置FileZilla Server:
filezilla-server-gui
文件。开放防火墙端口:
sudo ufw allow 2121/tcp
sudo ufw allow 14000:14050/tcp
sudo ufw status
测试连接:
ftp://your_server_ip
)、自定义的命令端口(例如2121)和被动端口范围(例如14000-14050)。通过以上步骤,你就可以在Ubuntu上使用FileZilla Server并自定义端口了。