要在Debian系統上修改FileZilla服務器的端口,請按照以下步驟操作:
sudo systemctl stop filezilla-server.service
/opt/filezilla-server/etc/settings.xml
。你可以使用任何文本編輯器,例如 nano
或 vim
:sudo nano /opt/filezilla-server/etc/settings.xml
local_port
標簽,將其值修改為你想要的端口號。例如,如果你想將端口改為 14148
,則修改為:<local_port>14148</local_port>
保存并退出編輯器。
重啟FileZilla服務器:
sudo systemctl restart filezilla-server.service
netstat -tuln | grep filezilla-server
tcp 0 0 0.0.0.0:14148 0.0.0.0:* LISTEN
通過以上步驟,你就可以在Debian系統上成功修改FileZilla服務器的端口。