{"id":6226,"date":"2020-12-30T04:42:43","date_gmt":"2020-12-29T20:42:43","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=6226"},"modified":"2020-12-30T04:42:43","modified_gmt":"2020-12-29T20:42:43","slug":"%e4%b8%80%e4%b8%aa%e5%91%bd%e4%bb%a4%ef%bc%8c%e8%ae%a9%e4%bd%a0%e7%9a%84%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=6226","title":{"rendered":"\u4e00\u4e2a\u547d\u4ee4\uff0c\u8ba9\u4f60\u7684\u5185\u7f51\u7a7f\u900f"},"content":{"rendered":"\n<p>\u6211\u4eec\u5728\u5f00\u53d1\u4e00\u4e9bweb\u5e94\u7528\u7684\u65f6\u5019\uff0c\u5f88\u591a\u65f6\u5019\u90fd\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u5728\u672c\u5730\u642d\u5efa\u73af\u5883&#8211;&gt;\u5f00\u53d1web\u5e94\u7528&#8211;&gt;\u672c\u5730\u6d4b\u8bd5&#8211;&gt;\u8fdc\u7a0b\u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e0a&#8211;&gt;\u57df\u540d\u914d\u7f6e&#8211;&gt;\u53ef\u4ee5\u88ab\u5916\u7f51\u8bbf\u95ee<\/p><\/blockquote>\n\n\n\n<p>\u5982\u679c\u4f60\u5f00\u53d1\u8fc7\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u76f8\u5173\u7684\uff0c\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u8fd9\u4e48\u4e00\u79cd\u60c5\u51b5\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668\u57df\u540d\u6ca1\u6709\u914d\u7f6e\u597d\uff0c\u65e0\u6cd5\u5728\u672c\u5730\u8c03\u7528\u63a5\u53e3\u3002<\/p><\/blockquote>\n\n\n\n<p>\u540e\u6765\u6211\u53d1\u73b0\u4e86\u4e00\u4e2a\u4e0d\u9519\u7684\u7f51\u7ad9\uff0clocalhost.run\uff0c\u5b83\u53ef\u4ee5\u76f4\u63a5\u4ee3\u7406\u4f60\u7684\u5185\u7f51\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u4f60\u81ea\u5df1\u5728\u672c\u5730\u5f00\u53d1\u7684 web \u5e94\u7528\uff0c\u4e0d\u7528\u81ea\u5df1\u90e8\u7f72\u5230\u4e91\u670d\u52a1\u5668\uff0c\u4e5f\u53ef\u4ee5\u88ab\u5916\u7f51\u7684\u5176\u5b83\u6240\u6709\u4eba\u8bbf\u95ee\u5f97\u5230\u3002<\/p>\n\n\n\n<p>\u4e5f\u5c31\u662f\u8fd9\u6837\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u5728\u672c\u5730\u642d\u5efa\u73af\u5883&#8211;&gt;\u5f00\u53d1web\u5e94\u7528&#8211;&gt;\u672c\u5730\u5f00\u542f\u670d\u52a1&#8211;&gt;\u4f7f\u7528localhost.run&#8211;&gt;\u5f97\u5230\u7f51\u5740&#8212;&gt;\u53ef\u4ee5\u88ab\u8bbf\u5916\u7f51\u95ee\u3002<\/p><\/blockquote>\n\n\n\n<p>\u8fd9\u4e2a\u4e0d\u7ba1\u662f\u5728\u6d4b\u8bd5\u8fd8\u662f\u751f\u4ea7\u73af\u5883\u7684\u9884\u89c8\uff0c\u90fd\u633a\u597d\u7528\u7684\uff0c\u63a5\u4e0b\u6765\u6211\u7ed9\u4f60\u7b80\u5355\u6f14\u793a\u4e00\u4e0b\u3002<\/p>\n\n\n\n<h1><strong>\u5047\u88c5\u5728\u672c\u5730\u5f00\u53d1web<\/strong><\/h1>\n\n\n\n<p>\u6bd4\u5982\u73b0\u5728\u6211\u4eec\u4f7f\u7528 Flask \u5728\u672c\u5730\u7b80\u5355\u7684\u5f00\u53d1\u4e86\u4e00\u4e2a\u201c\u5e05b\u8001\u4ed9\u201d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p26-tt.byteimg.com\/origin\/pgc-image\/d10c3f7413f64e8487bfae7c825283ac\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u63a5\u7740\u5728\u9996\u9875\u6dfb\u52a0\u4e00\u5f20\u5e05b\u56fe\u7247\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p1-tt-ipv6.byteimg.com\/origin\/pgc-image\/bc57f9f655c040a99b929f598ba217a6\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u73b0\u5728\u8fd0\u884c\u8d77\u6765\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p6-tt-ipv6.byteimg.com\/origin\/pgc-image\/7f64b47206a142d8aaa3355043a6a095\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u672c\u5730 http:\/\/127.0.0.1:5000\/admin \u8fdb\u884c\u8bbf\u95ee\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p6-tt-ipv6.byteimg.com\/origin\/pgc-image\/d1d17b8d302746a5b4cdc18c802344e0\" alt=\"\"\/><\/figure>\n\n\n\n<h1><strong>\u672c\u5730\u5171\u4eab<\/strong><\/h1>\n\n\n\n<p>\u5f00\u542f\u4e86\u672c\u5730\u670d\u52a1\u4e4b\u540e\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5c31\u53ef\u4ee5\u4f7f\u7528 localhost \u547d\u4ee4\uff0c\u8ba9\u81ea\u5df1\u672c\u5730\u7684\u7f51\u7ad9\u63d0\u4f9b\u7ed9\u6240\u6709\u4eba\u8bbf\u95ee\u4e86\u3002<\/p>\n\n\n\n<p>\u50cf\u8fd9\u6837\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>ssh -R 80:127.0.0.1:5000 ssh.localhost.run<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p9-tt-ipv6.byteimg.com\/origin\/pgc-image\/27049967df9344f7b5f9e0838e1aada1\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u8fd9\u91cc\u6211\u4eec\u5c06\u672c\u5730\u670d\u52a1\u7aef\u53e3\u6620\u5c04\u8fc7\u53bb\u4e86\uff0c\u8fd9\u65f6\u5019\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u7684\u5916\u7f51\u5730\u5740\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p6-tt-ipv6.byteimg.com\/origin\/pgc-image\/43de3848ea2b43d5b58922a3d1ab4075\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u73b0\u5728\u53ef\u4ee5\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u76f4\u63a5\u8bbf\u95ee<\/p>\n\n\n\n<p>wistbean-031c23cf.localhost.run<\/p>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u672c\u5730\u670d\u52a1\u5c31\u53ef\u4ee5\u88ab\u5916\u7f51\u8bbf\u95ee\u5230\u5566\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p9-tt-ipv6.byteimg.com\/origin\/pgc-image\/c2843b75899e49bab62613797664d84c\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u662f\u4e0d\u662f\u5f88\u723d\uff1f<\/p>\n\n\n\n<p>ok\uff0c\u4ee5\u4e0a\u5c31\u662f\u5c0f\u5e05b\u4eca\u5929\u7ed9\u4f60\u5e26\u6765\u7684\u5206\u4eab\uff0c\u5e0c\u671b\u5bf9\u4f60\u6709\u5e2e\u52a9\u3002<\/p>\n\n\n\n<p>\u4e0b\u56de\u89c1\uff0cpeace\uff01<br><br>\u76ee\u524d\u7c89\u4e1d\u6570\u91cf: 57747 \u4f4d<br>\u8ddd\u79bb\u9001\u793c\u7269\u8fd8\u9700: 2253 \u4f4d<br>\u8ddd\u5e05b\u7206\u7167\u8fd8\u9700: 42253 \u4f4d<br>\u8d76\u7d27\u70b9\u8d5e\u70b9\u5728\u770b\u52a9\u529b\u4e00\u6ce2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u5728\u5f00\u53d1\u4e00\u4e9bweb\u5e94\u7528\u7684\u65f6\u5019\uff0c\u5f88\u591a\u65f6\u5019\u90fd\u662f\u8fd9\u6837\u7684\uff1a \u5728\u672c\u5730\u642d\u5efa\u73af\u5883&#8211;&gt;\u5f00\u53d1web\u5e94\u7528&#8211;&gt;\u672c\u5730\u6d4b\u8bd5&#8211;&gt;\u8fdc\u7a0b\u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e0a&#8211;&gt;\u57df\u540d\u914d\u7f6e&#8211;&gt;\u53ef\u4ee5\u88ab\u5916\u7f51\u8bbf\u95ee \u5982\u679c\u4f60\u5f00&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[343],"tags":[],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6226"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6226"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6226\/revisions"}],"predecessor-version":[{"id":6227,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6226\/revisions\/6227"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}