发布于2024-02-23 由hsiunien在colab中获取当前机器的ip,How can I get the machine IP in colab environment? the answer is.. 要想获取外网IP,可以直接使用curl获取。 curl ipecho.net/plain