{"id":1898,"date":"2024-02-23T16:52:32","date_gmt":"2024-02-23T08:52:32","guid":{"rendered":"https:\/\/blog.xiunian.wang\/?p=1898"},"modified":"2024-02-23T16:52:32","modified_gmt":"2024-02-23T08:52:32","slug":"%e5%9c%a8colab%e4%b8%ad%e8%8e%b7%e5%8f%96%e5%bd%93%e5%89%8d%e6%9c%ba%e5%99%a8%e7%9a%84iphow-can-i-get-the-machine-ip-in-colab-environment-the-answer-is","status":"publish","type":"post","link":"https:\/\/blog.xiunian.wang\/?p=1898","title":{"rendered":"\u5728colab\u4e2d\u83b7\u53d6\u5f53\u524d\u673a\u5668\u7684ip,How can I get the machine IP in colab environment? the answer is.."},"content":{"rendered":"\n<p>\u8981\u60f3\u83b7\u53d6\u5916\u7f51IP\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528curl\u83b7\u53d6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">curl ipecho.net\/plain<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u60f3\u83b7\u53d6\u5916\u7f51IP\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528curl\u83b7\u53d6\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,4],"tags":[26],"_links":{"self":[{"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=\/wp\/v2\/posts\/1898"}],"collection":[{"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1898"}],"version-history":[{"count":3,"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=\/wp\/v2\/posts\/1898\/revisions"}],"predecessor-version":[{"id":1901,"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=\/wp\/v2\/posts\/1898\/revisions\/1901"}],"wp:attachment":[{"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xiunian.wang\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}