协作虚拟实例 IP 范围?

Pas*_*ula 6 google-colaboratory

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

小智 12

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

!curl ipecho.net/plain
Run Code Online (Sandbox Code Playgroud)

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


小智 6

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

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