$ sudo apt install apache2 $ sudo ufw app list # Output Available applications: Apache Apache Full Apache Secure OpenSSH $ sudo ufw app info "Apache Full" #Output Profile: Apache Full Title: Web Server (HTTP,HTTPS) Description: Apache v2 is the next generation of the omnipresent Apache web server. Ports: 80,443/tcp # Allow incoming HTTP and HTTPS traffic for this profile: $ sudo ufw allow in "Apache Full"