How to open the Ports in GCP



To Open Ports in GCP

  • Click on more options for the first server
  • Click on View network details, it will take you to VPC network
  • Click on Firewall rules
  • Click on Create a firewall rule
  • Name: webports
  • Change Target to All instances in the network
  • Set Source IP range to
  • Specified protocols and ports: tcp [80, 7180]

Now you can access the services available over ports 80 and 7180.