You wrote you rebooted after disabling the UFW, did you check the UFW status after rebooting to see if UFW was enabled again on reboot ?
for the command
it needs to say
Replacing port-number-here with the actual port number.
for example 20, 21, 990, 40000, 50000 as per the tutorial (second link)
for the command
Code:
sudo ufw allow ftp
Code:
sudo ufw allow port-number-here
for example 20, 21, 990, 40000, 50000 as per the tutorial (second link)