Hi all,
I recently set up a server with ufw firewall.
I have added a rule to allow port 21 access so Wordpress can install plugins.
I used sudo ufw allow 21
sudo ufw allow 21/tcp
and also sudo ufw allow proto tcp from any to any port 80
I have then used sudo ufw disable/enable to stopt/start it.
I have then also restarted the server.
For some strange reason it still does not allow FTP.
I have tried using FileZilla and putty. In putty i get a time out error and in FileZilla I get Coection attempt failed with "ECONNREFUSED - Coection refused by server".
Out put of ufw status so you can see
yet2lea@Yet2Lea:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
4444/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
25/tcp ALLOW Anywhere
21/tcp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
4444/tcp (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
25/tcp (v6) ALLOW Anywhere (v6)
21/tcp (v6) ALLOW Anywhere (v6)
any ideas what I am doing wrong?
برچسب:
نویسنده: استخدام کار