Getting error when setting up Let's Encrypt SSL on GCP

For other people who see this in the future and have the same problem.
I had to enable the port through firewall on Ubuntu
sudo ufw allow 443/tcp