协作虚拟实例的IP范围? [英] Colaboratory virtual instances IP range?

查看:60
本文介绍了协作虚拟实例的IP范围?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我们公司介绍Google合作实验室.但是,在我们的大多数实验中,我们将需要访问使用白名单的mongoDB服务器.因此,我想知道Colaboratory使用的虚拟实例是否具有我们可以使用的特定IP范围?否则,仍然可以使用本地运行时通过隧道传输到Jupyter Notebook服务器,如此处所述:

I would like to introduce Google Colaboratory at our company. However, for most of our experiment, we would need to access a mongoDB server which uses whitelisting. Therefore, I am wondering if the virtual instances used by Colaboratory have a specific IP range that we could use? Otherwise, there is still the possibility to use a local runtime with tunneling to a Jupyter Notebook server like described here: https://research.google.com/colaboratory/local-runtimes.html Thanks, Pascal

推荐答案

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

You can determine the IP address of Colab notebook using below command.

!curl ipecho.net/plain

我已经看到Colab IP地址在 35.*.*.*子网范围内,但这可能会改变.

I have seen the Colab IP addresses in the range 35.*.*.* subnet but this might change.

这篇关于协作虚拟实例的IP范围?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆