title: Allow firewall rules for a GCP instance (port:8080) from CLI
body: <p>Is there anyway to allow the ports from CLI? <br />
  I have an instance in GCP and I have installed a service which by default runs on <code>Port:8080</code>. I know there is an option to change the firewall rules to allow ports from the GCP dashboard but <strong>I'm wondering if there is any way to allow the required ports from the CLI</strong><br />
  In my case I'm using <code>Git Bash</code> rather than the native <code>GCP Cloud Console</code> <br />
  I have seen the documentation to allow ports from command line <a href="https://cloud.google.com/sdk/gcloud/reference/compute/firewall-rules/create" rel="nofollow noreferrer">GCP Firewall-rules-from CLI</a> but this is throwing a <code>ERROR</code> since I'm using the <code>Git Bash</code>. <br />
  Here is the error log:</p>
  <pre><code>[mygcp@foo~]$ gcloud compute firewall-rules create FooService --allow=tcp:8080 --description=&quot;Allow incoming traffic on TCP port 8080&quot; --direction=INGRESS
  Creating firewall...failed.
  ERROR: (gcloud.compute.firewall-rules.create) Could not fetch resource:
   - Request had insufficient authentication scopes.
  
  [mygcp@foo~]$ gcloud compute firewall-rules list
  ERROR: (gcloud.compute.firewall-rules.list) Some requests did not succeed:
   - Request had insufficient authentication scopes.
  </code></pre>
  <p>Is there any option to allow required ports directly from the Git Bash CLI?</p>