How do I get "firebase login" to work from Google Cloud Shell : <p>I logged into Google Cloud Shell and found that that the Firebase CLI is already installed.</p>

<p>I then tried to run "firebase list" to see that it was working and was prompted to login.</p>

<p>"Visit this URL on any device to log in:"
<code>&lt;very long URL&gt;</code></p>

<p>I copy/pasted the URL into a browser and got the standard "Firebase CLI would like to:" prompt from Google but when I approved it by clicking the "Allow" button, it failed.</p>

<p>This is the error page that showed.</p>

<p>This site can’t be reached<br>
localhost refused to connect.<br>
Search Google for localhost 9005<br>
ERR_CONNECTION_REFUSED</p>
