{"id":1071,"date":"2025-12-31T16:40:56","date_gmt":"2025-12-31T08:40:56","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=1071"},"modified":"2025-12-31T16:40:56","modified_gmt":"2025-12-31T08:40:56","slug":"localhost8888","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2025\/12\/31\/localhost8888\/","title":{"rendered":"localhost:8888"},"content":{"rendered":"\n<p><code>localhost:8888<\/code> \u4e00\u822c\u8868\u793a\uff1a<br>\ud83d\udc49 <strong>\u8bbf\u95ee\u4f60\u672c\u673a\uff08\u672c\u5730\u7535\u8111\uff09\u4e0a\u76d1\u542c\u5728 8888 \u7aef\u53e3\u7684\u670d\u52a1<\/strong><\/p>\n\n\n\n<p>\u4e0b\u9762\u6309<strong>\u6700\u5e38\u89c1\u60c5\u51b5<\/strong>\u7ed9\u4f60\u5feb\u901f\u5bf9\u7167 \ud83d\udc47<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001<code>localhost:8888<\/code> \u662f\u4ec0\u4e48\u610f\u601d\uff1f<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>localhost<\/strong>\uff1a\u672c\u673a\u5730\u5740\uff08\u7b49\u540c\u4e8e <code>127.0.0.1<\/code>\uff09<\/li>\n\n\n\n<li><strong>8888<\/strong>\uff1a\u7aef\u53e3\u53f7<\/li>\n\n\n\n<li>\u5408\u8d77\u6765\u5c31\u662f\uff1a<br><strong>\u4f60\u7535\u8111\u4e0a\u6709\u4e00\u4e2a\u7a0b\u5e8f\u6b63\u5728 8888 \u7aef\u53e3\u63d0\u4f9b Web \u670d\u52a1<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u5728\u6d4f\u89c8\u5668\u91cc\u8bbf\u95ee\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttp:\/\/localhost:8888\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u6700\u5e38\u89c1\u7684\u51e0\u79cd\u7528\u9014<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 Spring Boot \u9879\u76ee<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nserver:\n  port: 8888\n\n<\/pre><\/div>\n\n\n<p>\u542f\u52a8\u540e\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttp:\/\/localhost:8888\n\n<\/pre><\/div>\n\n\n<p>\ud83d\udc49 \u5e38\u89c1\u4e8e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u540e\u53f0\u7ba1\u7406\u7cfb\u7edf<\/li>\n\n\n\n<li>REST API<\/li>\n\n\n\n<li>Layui \/ Vue \/ \u524d\u540e\u7aef\u5206\u79bb\u9879\u76ee<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2\ufe0f\u20e3 Jupyter Notebook<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\njupyter notebook\n\n<\/pre><\/div>\n\n\n<p>\u9ed8\u8ba4\u7ecf\u5e38\u662f\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttp:\/\/localhost:8888\n\n<\/pre><\/div>\n\n\n<p>\ud83d\udc49 \u7528\u4e8e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Python \u6570\u636e\u5206\u6790<\/li>\n\n\n\n<li>Notebook \u4ea4\u4e92\u5f0f\u5f00\u53d1<br>\uff08\u26a0 \u6709\u65f6\u9700\u8981 token\uff09<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3\ufe0f\u20e3 \u4ee3\u7406 \/ \u8c03\u8bd5\u5de5\u5177<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Charles<\/li>\n\n\n\n<li>Fiddler<\/li>\n\n\n\n<li>Shadowsocks \/ Clash\uff08HTTP \u4ee3\u7406\uff09<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nHTTP Proxy: 127.0.0.1\nPort: 8888\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">4\ufe0f\u20e3 \u524d\u7aef\u5f00\u53d1\u670d\u52a1\u5668<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm run dev\n\n<\/pre><\/div>\n\n\n<p>\u6216\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vite<\/li>\n\n\n\n<li>Webpack Dev Server<\/li>\n\n\n\n<li>Vue \/ React \u9879\u76ee<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u6253\u4e0d\u5f00 <code>localhost:8888<\/code> \u7684\u5e38\u89c1\u539f\u56e0<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c 1. \u670d\u52a1\u6ca1\u542f\u52a8<\/h3>\n\n\n\n<p>\u2714 \u68c0\u67e5\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnetstat -ano | findstr 8888   (Windows)\nlsof -i :8888                (Mac \/ Linux)\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c 2. \u7aef\u53e3\u88ab\u5360\u7528<\/h3>\n\n\n\n<p>\u2714 \u6362\u7aef\u53e3\u6216\u6740\u8fdb\u7a0b<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c 3. \u9632\u706b\u5899 \/ \u6743\u9650\u95ee\u9898<\/h3>\n\n\n\n<p>\u2714 \u672c\u5730\u4e00\u822c\u4e0d\u4f1a\u62e6\uff0c\u4f46\u516c\u53f8\u7535\u8111\u53ef\u80fd\u4f1a<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u274c 4. \u7a0b\u5e8f\u76d1\u542c\u7684\u4e0d\u662f localhost<\/h3>\n\n\n\n<p>\u2714 \u6709\u4e9b\u670d\u52a1\u7ed1\u5b9a\u7684\u662f <code>0.0.0.0<\/code> \u6216\u5176\u4ed6 IP<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u5feb\u901f\u81ea\u68c0\u6e05\u5355\uff0830 \u79d2\uff09<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4f60\u6709\u6ca1\u6709 <strong>\u542f\u52a8\u67d0\u4e2a\u670d\u52a1<\/strong>\uff1f<\/li>\n\n\n\n<li>\u63a7\u5236\u53f0\u6709\u6ca1\u6709\u663e\u793a\uff1a<code>Started xxx on port 8888<\/code><\/li>\n\n\n\n<li>\u6d4f\u89c8\u5668\u6709\u6ca1\u6709 <strong>\u62a5\u9519\u4fe1\u606f<\/strong>\uff1f\n<ul class=\"wp-block-list\">\n<li>ERR_CONNECTION_REFUSED<\/li>\n\n\n\n<li>404<\/li>\n\n\n\n<li>\u7a7a\u767d\u9875<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u4e00\u53e5\u8bdd\u603b\u7ed3<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong><code>localhost:8888<\/code> \u672c\u8eab\u4e0d\u662f\u7f51\u7ad9\uff0c\u800c\u662f\u4f60\u672c\u673a\u67d0\u4e2a\u7a0b\u5e8f\u7684\u5165\u53e3<\/strong><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>localhost:8888 \u4e00\u822c\u8868\u793a\uff1a\ud83d\udc49 \u8bbf\u95ee\u4f60\u672c\u673a\uff08\u672c\u5730\u7535\u8111\uff09\u4e0a\u76d1\u542c\u5728 88&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2025\/12\/31\/localhost8888\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-1071","post","type-post","status-publish","format-standard","hentry","category-12"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/1071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=1071"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/1071\/revisions"}],"predecessor-version":[{"id":1072,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/1071\/revisions\/1072"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=1071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=1071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=1071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}