实验室虚拟实例IP范围?

时间:2018-06-01 09:02:35

标签: google-colaboratory

我想在我们公司介绍Google Colaboratory。 但是,对于我们的大多数实验,我们需要访问使用白名单的mongoDB服务器。 因此,我想知道Colaboratory使用的虚拟实例是否具有我们可以使用的特定IP范围? 否则,仍然可以使用本地运行时隧道连接到Jupyter Notebook服务器,如下所述:https://research.google.com/colaboratory/local-runtimes.html 谢谢, 帕斯卡

3 个答案:

答案 0 :(得分:1)

它似乎在34.*.*.*35.*.*.*范围内。

这是我的几次重启实验。

# 35.237.149.168
# 35.234.56.15
# 35.231.231.209
# 35.227.111.90
# 35.221.253.131
# 35.221.207.7
# 35.221.166.62
# 35.204.72.157
# 35.201.227.155
# 35.196.149.235
# 35.194.57.3
# 35.185.124.167
# 34.91.205.101
# 34.80.163.26
# 34.80.152.217
# 34.80.203.85
# 34.74.200.106
# 34.73.212.38
# 34.73.174.186
# 34.73.45.78
# 34.68.222.221

答案 1 :(得分:0)

您可以使用以下命令确定Colab笔记本的IP地址。

!curl ipecho.net/plain

我已经看到35.*.*.* subnet范围内的Colab IP地址,但这可能会改变。

答案 2 :(得分:-1)

这是 Google 提供的官方 IP 范围列表。

https://www.gstatic.com/ipranges/cloud.json