Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Change default local port 8085 of gcloud auth login to something else

Hi. I use google-cloud-cli 513.0.0-0 on WSL Ubuntu and it waits for the browser to redirect to localhost:8085, but that port can't be automatically forwarded to the host Windows because there's already a web server on that port. How to change this value? The argument "--redirect-port" seems unsupported in this version.

_

 

basin@basinpad:~$ gcloud auth login
Your browser has been opened to visit:

https://accounts.google.com/o/oauth2/auth?...redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&...

 

_

0 0 153
0 REPLIES 0