【发布时间】:2019-06-11 03:01:17
【问题描述】:
我试图从运行中打开 TensorBoard 页面
tensorboard --logdir=./Train_log/tb_train_log --port=8080 在 Google Cloud Compute Engine 虚拟机实例上。并且输出网页http:<usename>:8080 不可用。我打开页面时的错误是:
Error: Could not connect to Cloud Shell on port 8080.
Ensure your server is listening on port 8080 and try again.
所以我仰望Unable to open Tensorboard in browser 和Can't open port 8080 on Google Compute Engine running Debian。
然后我
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.
netstat -an | grep "LISTEN " 的输出也是
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
这些都不起作用,我想知道如何解决这个问题?
任何想法都会有所帮助!
【问题讨论】:
-
在控制台 > 网络 > 防火墙规则 > 编辑你的规则,删除目标标签,然后应用看看会发生什么,或者你可以试试这个链接让我知道如果这不起作用youtube.com/watch?v=JmjqPpQdtW8
标签: tensorflow google-cloud-platform tensorboard