Open the Apache port 80 and 443 using UFW firewall

sudo ufw allow 80/tcp
sudo ufw allow 443/tcp

sudo ufw status

You cannot comment on this entry