title: Cannot connect to TensorBoard page from Google Cloud VM instance
body: <p>I tried to open TensorBoard page from running </p>
  
  <p><code>tensorboard --logdir=./Train_log/tb_train_log --port=8080</code> on Google Cloud Compute Engine VM instance. And the output web page <code>http:&lt;usename&gt;:8080</code> is not available. The error when I opened the page is : </p>
  
  <pre><code>Error: Could not connect to Cloud Shell on port 8080.
  Ensure your server is listening on port 8080 and try again.
  </code></pre>
  
  <p>So I looked up to <a href="https://stackoverflow.com/questions/40106949/unable-to-open-tensorboard-in-browser">Unable to open Tensorboard in browser</a> and <a href="https://stackoverflow.com/questions/25880703/cant-open-port-8080-on-google-compute-engine-running-debian">Can&#39;t open port 8080 on Google Compute Engine running Debian</a>. </p>
  
  <p>Then I </p>
  
  <pre><code>1) set up the fire wall with creating a new rule as tcp:8080 and IP ranges 0.0.0.0/0.  
  2) changed the port to 8080 and the default output 6006, changed the host to 0.0.0.0 and 127.0.0.1. Copy and paste corresponding address like http:0.0.0.0:8080 to google chrome. 
  3) use web preview through google cloud shell to the port I set as above. 
  </code></pre>
  
  <p>Also the output of <code>netstat -an | grep "LISTEN "</code> is </p>
  
  <pre><code>tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN     
  tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
  tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
  tcp6       0      0 :::22                   :::*                    LISTEN     
  tcp6       0      0 ::1:631                 :::*                    LISTEN 
  </code></pre>
  
  <p>None of those worked, I wonder how to fix the problem ? </p>
  
  <p>Any idea would be helpful ! </p>