Google Cloud open a port in firewall

To open port 80 globally for all VMs on google cloud project, run

gcloud compute firewall-rules create allow-port80-all --allow tcp:80 --source-ranges 0.0.0.0/0 --network default
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *