如何连接 google colab 与本地主机 运行 docker 图像?
How to connect google colab with localhost running docker image?
Errors while connecting with localhost link
我正在尝试 运行 在 colab 中进行美力搜索。我 运行 meiliSearch docker 并且我有一个本地主机 link http://localhost:7700/. I have tried both http://localhost:7700/ as well as http://192.168.43.57:7700。但我收到错误。虽然我可以连接到我本地的 jupyter notebook。有什么解决办法吗?
我看不到全屏,但 colab 中的错误很可能是因为它由 Google 研究托管在远程服务器上,而 http://localhost:7700/ 在您的本地系统.
您无法使用 http://localhost:7700/ 连接它们。
如果您还使用了您的机器 ip 地址,即 http://192.168.43.57:7700 并且无法连接,那么您是否首先将端口号 7700 暴露给互联网?
您将需要使用提供所需的不同服务公开您的本地机器和一些端口 (7700)。
您可以阅读以下文章了解如何设置隧道服务或 ssh 以在 Internet 上公开本地开发。
Medium Article on How to expose a local development server to the Internet
或者直接用这个。 Use local tunnel
Errors while connecting with localhost link
我正在尝试 运行 在 colab 中进行美力搜索。我 运行 meiliSearch docker 并且我有一个本地主机 link http://localhost:7700/. I have tried both http://localhost:7700/ as well as http://192.168.43.57:7700。但我收到错误。虽然我可以连接到我本地的 jupyter notebook。有什么解决办法吗?
我看不到全屏,但 colab 中的错误很可能是因为它由 Google 研究托管在远程服务器上,而 http://localhost:7700/ 在您的本地系统.
您无法使用 http://localhost:7700/ 连接它们。 如果您还使用了您的机器 ip 地址,即 http://192.168.43.57:7700 并且无法连接,那么您是否首先将端口号 7700 暴露给互联网?
您将需要使用提供所需的不同服务公开您的本地机器和一些端口 (7700)。
您可以阅读以下文章了解如何设置隧道服务或 ssh 以在 Internet 上公开本地开发。
Medium Article on How to expose a local development server to the Internet
或者直接用这个。 Use local tunnel