- Plesk for Linux
Can not perform any actions with FTP:
CONFIG_TEXT: connection refused by server
CONFIG_TEXT: connection timed out
Xinetd service could not bind to 21 port when started previously, because the other process was listening that port.
Note: if you don't have root access to Plesk server via SSH, contact your hosting provider regarding the issue
- Login to the server over SSH
- Restart xinetd service:
# service xinetd restart
- Open ports 20 and 21 are opened:
# iptables -nL | egrep "20|21"
# iptables -A INPUT -p tcp --dport 21 -j ACCEPT
# iptables -A INPUT -p tcp --dport 20 -j ACCEPT
- Check hostname and IP address in
/etc/hostsand correct them, if necessary:
# cat /etc/hosts