$ sudo ufw allow http
$ sudo ufw allow ssh
$ sudo ufw allow ftp
If you were setting up a server that server would need the basic web service ports activated