{"id":17012,"date":"2025-04-18T23:27:54","date_gmt":"2025-04-18T15:27:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/17012.html"},"modified":"2025-04-18T23:27:54","modified_gmt":"2025-04-18T15:27:54","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%bb%91%e5%ae%9a-127-0-0-1-%e5%92%8c-0-0-0-0-%e7%9a%84%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/17012.html","title":{"rendered":"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b"},"content":{"rendered":"<h2>\u524d\u8a00<\/h2>\n<p>IP \u5730\u5740\u5b9e\u9645\u4e0a\u5e76\u4e0d\u662f\u5206\u914d\u7ed9\u8ba1\u7b97\u673a\u7684&#xff0c;\u800c\u662f\u5206\u914d\u7ed9\u7f51\u5361\u7684&#xff0c;\u56e0\u6b64\u5f53\u8ba1\u7b97\u673a\u4e0a\u5b58\u5728\u591a\u5757\u7f51\u5361\u65f6&#xff0c;\u6bcf\u4e00\u5757\u7f51\u5361\u90fd\u4f1a\u6709\u81ea\u5df1\u7684 IP \u5730\u5740\u3002<\/p>\n<p>\u7ed1\u5b9a 127.0.0.1 \u662f\u7ed1\u5b9a\u5230 lookback \u8fd9\u4e2a\u865a\u62df\u7684\u672c\u5730\u56de\u73af\u63a5\u53e3&#xff0c;\u8be5\u63a5\u53e3\u53ea\u5904\u7406\u672c\u673a\u4e0a\u7684\u6570\u636e&#xff0c;\u5982\u679c\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u5916\u90e8\u662f\u65e0\u6cd5\u8bbf\u95ee\u7684\u3002<\/p>\n<p>\u7ed1\u5b9a 0.0.0.0 \u662f\u7ed1\u5b9a\u5230\u6240\u6709\u53ef\u7528\u7684\u7f51\u7edc\u63a5\u53e3&#xff0c;\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u6b64\u65f6\u53ef\u4ee5\u63a5\u53d7\u6765\u81ea\u4efb\u4f55\u7f51\u7edc\u63a5\u53e3\u7684\u8fde\u63a5\u8bf7\u6c42&#xff0c;\u5916\u90e8\u662f\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u7684\u3002<\/p>\n<p>\u5728 ubuntu \u7cfb\u7edf\u53ef\u4ee5\u7528 ifconfig \u547d\u4ee4\u67e5\u770b\u7f51\u7edc\u63a5\u53e3\u4fe1\u606f&#xff0c;Win \u7cfb\u7edf\u7528 ipconfig \u547d\u4ee4\u67e5\u770b\u3002<\/p>\n<p>$ <span class=\"token function\">ifconfig<\/span><br \/>\neth0: <span class=\"token assign-left variable\">flags<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">416<\/span><span class=\"token operator\"><span class=\"token file-descriptor important\">3<\/span>&lt;<\/span>UP,BROADCAST,RUNNING,MULTICAST<span class=\"token operator\">&gt;<\/span>  mtu <span class=\"token number\">1500<\/span><br \/>\n        inet <span class=\"token number\">172.30<\/span>.36.166  netmask <span class=\"token number\">255.255<\/span>.240.0  broadcast <span class=\"token number\">172.30<\/span>.47.255<\/p>\n<p>lo: <span class=\"token assign-left variable\">flags<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">7<\/span><span class=\"token operator\"><span class=\"token file-descriptor important\">3<\/span>&lt;<\/span>UP,LOOPBACK,RUNNING<span class=\"token operator\">&gt;<\/span>  mtu <span class=\"token number\">65536<\/span><br \/>\n        inet <span class=\"token number\">127.0<\/span>.0.1  netmask <span class=\"token number\">255.0<\/span>.0.0<\/p>\n<p>\u4e0b\u9762\u7528\u4ee3\u7801\u6765\u6f14\u793a\u4e24\u79cd\u60c5\u51b5\u7684\u533a\u522b\u3002<\/p>\n<h2>\u7ed1\u5b9a 127.0.0.1<\/h2>\n<p>\u4ee5\u4e0b\u4ee3\u7801\u7531 \u901a\u4e49\u5343\u95ee 2.5 \u751f\u6210&#xff1a;<\/p>\n<p><span class=\"token keyword\">func<\/span> <span class=\"token function\">handleConnection<\/span><span class=\"token punctuation\">(<\/span>conn net<span class=\"token punctuation\">.<\/span>Conn<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n<span class=\"token keyword\">defer<\/span> conn<span class=\"token punctuation\">.<\/span><span class=\"token function\">Close<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\nscanner <span class=\"token operator\">:&#061;<\/span> bufio<span class=\"token punctuation\">.<\/span><span class=\"token function\">NewScanner<\/span><span class=\"token punctuation\">(<\/span>conn<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">for<\/span> scanner<span class=\"token punctuation\">.<\/span><span class=\"token function\">Scan<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\ntext <span class=\"token operator\">:&#061;<\/span> scanner<span class=\"token punctuation\">.<\/span><span class=\"token function\">Text<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span><span class=\"token function\">Println<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Received:&#034;<\/span><span class=\"token punctuation\">,<\/span> text<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token boolean\">_<\/span><span class=\"token punctuation\">,<\/span> err <span class=\"token operator\">:&#061;<\/span> conn<span class=\"token punctuation\">.<\/span><span class=\"token function\">Write<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token function\">byte<\/span><span class=\"token punctuation\">(<\/span>text <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;\\\\n&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">if<\/span> err <span class=\"token operator\">!&#061;<\/span> <span class=\"token boolean\">nil<\/span> <span class=\"token punctuation\">{<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span><span class=\"token function\">Println<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Error writing to socket:&#034;<\/span><span class=\"token punctuation\">,<\/span> err<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">break<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">if<\/span> err <span class=\"token operator\">:&#061;<\/span> scanner<span class=\"token punctuation\">.<\/span><span class=\"token function\">Err<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span> err <span class=\"token operator\">!&#061;<\/span> <span class=\"token boolean\">nil<\/span> <span class=\"token punctuation\">{<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span><span class=\"token function\">Println<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Error reading from socket:&#034;<\/span><span class=\"token punctuation\">,<\/span> err<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">func<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\nport <span class=\"token operator\">:&#061;<\/span> <span class=\"token string\">&#034;8080&#034;<\/span><br \/>\nlistener<span class=\"token punctuation\">,<\/span> err <span class=\"token operator\">:&#061;<\/span> net<span class=\"token punctuation\">.<\/span><span class=\"token function\">Listen<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tcp&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;127.0.0.1:&#034;<\/span><span class=\"token operator\">&#043;<\/span>port<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">if<\/span> err <span class=\"token operator\">!&#061;<\/span> <span class=\"token boolean\">nil<\/span> <span class=\"token punctuation\">{<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span><span class=\"token function\">Println<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Error listening:&#034;<\/span><span class=\"token punctuation\">,<\/span> err<span class=\"token punctuation\">.<\/span><span class=\"token function\">Error<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\nos<span class=\"token punctuation\">.<\/span><span class=\"token function\">Exit<\/span><span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token keyword\">defer<\/span> listener<span class=\"token punctuation\">.<\/span><span class=\"token function\">Close<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span><span class=\"token function\">Println<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Listening on:&#034;<\/span> <span class=\"token operator\">&#043;<\/span> port<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">for<\/span> <span class=\"token punctuation\">{<\/span><br \/>\nconn<span class=\"token punctuation\">,<\/span> err <span class=\"token operator\">:&#061;<\/span> listener<span class=\"token punctuation\">.<\/span><span class=\"token function\">Accept<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">if<\/span> err <span class=\"token operator\">!&#061;<\/span> <span class=\"token boolean\">nil<\/span> <span class=\"token punctuation\">{<\/span><br \/>\nfmt<span class=\"token punctuation\">.<\/span><span class=\"token function\">Println<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Error accepting:&#034;<\/span><span class=\"token punctuation\">,<\/span> err<span class=\"token punctuation\">.<\/span><span class=\"token function\">Error<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">continue<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token keyword\">go<\/span> <span class=\"token function\">handleConnection<\/span><span class=\"token punctuation\">(<\/span>conn<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8fd0\u884c\u8fd9\u6bb5\u4ee3\u7801&#xff1a;<\/p>\n<p>$ go run echo.go<br \/>\nListening on:8080<\/p>\n<p>\u5148\u5728\u672c\u673a\u4f7f\u7528 telnet \u6d4b\u8bd5\u80fd\u5426\u8bbf\u95ee&#xff1a;<\/p>\n<p>$ telnet <span class=\"token number\">127.0<\/span>.0.1 <span class=\"token number\">8080<\/span><br \/>\nTrying <span class=\"token number\">127.0<\/span>.0.1<span class=\"token punctuation\">..<\/span>.<br \/>\nConnected to <span class=\"token number\">127.0<\/span>.0.1.<br \/>\nEscape character is <span class=\"token string\">&#039;^]&#039;<\/span><span class=\"token builtin class-name\">.<\/span><br \/>\nhello<br \/>\nhello<\/p>\n<p>\u6b64\u65f6\u4e00\u5207\u6b63\u5e38&#xff0c;\u670d\u52a1\u5668\u53ef\u4ee5\u6b63\u5e38\u54cd\u5e94\u3002<\/p>\n<p>\u518d\u6362\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u6d4b\u8bd5&#xff1a;<\/p>\n<p>$ telnet <span class=\"token number\">47.100<\/span>.200.202 <span class=\"token number\">8080<\/span><br \/>\nTrying <span class=\"token number\">47.100<\/span>.200.202<span class=\"token punctuation\">..<\/span>.<br \/>\ntelnet: Unable to connect to remote host: Connection refused<\/p>\n<p>\u76f4\u63a5\u62a5\u9519&#xff0c;\u4e0d\u80fd\u8bbf\u95ee\u3002<\/p>\n<p>\u8fd9\u91cc\u8bbf\u95ee\u7684 47.100.200.202 \u662f\u670d\u52a1\u5668\u7684\u516c\u7f51 IP&#xff0c;\u4e0a\u9762\u7684 172.30.36.166 \u662f\u5185\u7f51 IP\u3002<\/p>\n<h2>\u7ed1\u5b9a 0.0.0.0<\/h2>\n<p>\u5c06 127.0.0.1 \u4fee\u6539\u4e3a 0.0.0.0 \u540e\u91cd\u65b0\u8fd0\u884c\u3002<\/p>\n<p>listener<span class=\"token punctuation\">,<\/span> err <span class=\"token operator\">:&#061;<\/span> net<span class=\"token punctuation\">.<\/span><span class=\"token function\">Listen<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tcp&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;0.0.0.0:&#034;<\/span><span class=\"token operator\">&#043;<\/span>port<span class=\"token punctuation\">)<\/span><\/p>\n<p>\u8fd8\u662f\u5148\u5728\u672c\u673a\u6d4b\u8bd5&#xff1a;<\/p>\n<p>$ telnet <span class=\"token number\">127.0<\/span>.0.1 <span class=\"token number\">8080<\/span><br \/>\nTrying <span class=\"token number\">127.0<\/span>.0.1<span class=\"token punctuation\">..<\/span>.<br \/>\nConnected to <span class=\"token number\">127.0<\/span>.0.1.<br \/>\nEscape character is <span class=\"token string\">&#039;^]&#039;<\/span><span class=\"token builtin class-name\">.<\/span><br \/>\nhi<br \/>\nhi<\/p>\n<p>\u8fd8\u662f\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee&#xff0c;\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n<p>\u518d\u6362\u5230\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u6d4b\u8bd5&#xff1a;<\/p>\n<p>$ telnet <span class=\"token number\">47.100<\/span>.200.202 <span class=\"token number\">8080<\/span><br \/>\nTrying <span class=\"token number\">47.100<\/span>.200.202<span class=\"token punctuation\">..<\/span>.<br \/>\nConnected to <span class=\"token number\">47.100<\/span>.200.202.<br \/>\nEscape character is <span class=\"token string\">&#039;^]&#039;<\/span><span class=\"token builtin class-name\">.<\/span><br \/>\nhello hi<br \/>\nhello hi<\/p>\n<p>\u8fd9\u65f6\u5c31\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u4e86\u3002<\/p>\n<h2>\u53c2\u8003\u8d44\u6599<\/h2>\n<ul>\n<li>\u300a\u7f51\u7edc\u662f\u600e\u6837\u8fde\u63a5\u7684\u300b<\/li>\n<li>\u65ad\u7f51\u4e86&#xff0c;\u8fd8\u80fd ping \u901a 127.0.0.1 \u5417&#xff1f;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb667\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u7ed1\u5b9a 127.0.0.1 \u662f\u7ed1\u5b9a\u5230 lookback \u8fd9\u4e2a\u865a\u62df\u7684\u672c\u5730\u56de\u73af\u63a5\u53e3\uff0c\u8be5\u63a5\u53e3\u53ea\u5904\u7406\u672c\u673a\u4e0a\u7684\u6570\u636e\uff0c\u5982\u679c\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u5916\u90e8\u662f\u65e0\u6cd5\u8bbf\u95ee\u7684\u3002\u7ed1\u5b9a 0.0.0.0 \u662f\u7ed1\u5b9a\u5230\u6240\u6709\u53ef\u7528\u7684\u7f51\u7edc\u63a5\u53e3\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u6b64\u65f6\u53ef\u4ee5\u63a5\u53d7\u6765\u81ea\u4efb\u4f55\u7f51\u7edc\u63a5\u53e3\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u5916\u90e8\u662f\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u7684\u3002_\u670d\u52a1\u5668\u5728127.0.0.1\u4e0a\u9762\u8fd0\u884c,\u522b\u4eba\u53ef\u4ee5\u8bbf\u95ee\u5417<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[746,43,78],"topic":[],"class_list":["post-17012","post","type-post","status-publish","format-standard","hentry","category-server","tag-golang","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/17012.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb667\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u7ed1\u5b9a 127.0.0.1 \u662f\u7ed1\u5b9a\u5230 lookback \u8fd9\u4e2a\u865a\u62df\u7684\u672c\u5730\u56de\u73af\u63a5\u53e3\uff0c\u8be5\u63a5\u53e3\u53ea\u5904\u7406\u672c\u673a\u4e0a\u7684\u6570\u636e\uff0c\u5982\u679c\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u5916\u90e8\u662f\u65e0\u6cd5\u8bbf\u95ee\u7684\u3002\u7ed1\u5b9a 0.0.0.0 \u662f\u7ed1\u5b9a\u5230\u6240\u6709\u53ef\u7528\u7684\u7f51\u7edc\u63a5\u53e3\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u6b64\u65f6\u53ef\u4ee5\u63a5\u53d7\u6765\u81ea\u4efb\u4f55\u7f51\u7edc\u63a5\u53e3\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u5916\u90e8\u662f\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u7684\u3002_\u670d\u52a1\u5668\u5728127.0.0.1\u4e0a\u9762\u8fd0\u884c,\u522b\u4eba\u53ef\u4ee5\u8bbf\u95ee\u5417\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/17012.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T15:27:54+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/17012.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/17012.html\",\"name\":\"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T15:27:54+00:00\",\"dateModified\":\"2025-04-18T15:27:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/17012.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/17012.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/17012.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/17012.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb667\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf3\u6b21\u3002\u7ed1\u5b9a 127.0.0.1 \u662f\u7ed1\u5b9a\u5230 lookback \u8fd9\u4e2a\u865a\u62df\u7684\u672c\u5730\u56de\u73af\u63a5\u53e3\uff0c\u8be5\u63a5\u53e3\u53ea\u5904\u7406\u672c\u673a\u4e0a\u7684\u6570\u636e\uff0c\u5982\u679c\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u5916\u90e8\u662f\u65e0\u6cd5\u8bbf\u95ee\u7684\u3002\u7ed1\u5b9a 0.0.0.0 \u662f\u7ed1\u5b9a\u5230\u6240\u6709\u53ef\u7528\u7684\u7f51\u7edc\u63a5\u53e3\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u6b64\u65f6\u53ef\u4ee5\u63a5\u53d7\u6765\u81ea\u4efb\u4f55\u7f51\u7edc\u63a5\u53e3\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u5916\u90e8\u662f\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u7684\u3002_\u670d\u52a1\u5668\u5728127.0.0.1\u4e0a\u9762\u8fd0\u884c,\u522b\u4eba\u53ef\u4ee5\u8bbf\u95ee\u5417","og_url":"https:\/\/www.wsisp.com\/helps\/17012.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T15:27:54+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/17012.html","url":"https:\/\/www.wsisp.com\/helps\/17012.html","name":"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T15:27:54+00:00","dateModified":"2025-04-18T15:27:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/17012.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/17012.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/17012.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u7ed1\u5b9a 127.0.0.1 \u548c 0.0.0.0 \u7684\u533a\u522b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/17012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=17012"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/17012\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=17012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=17012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=17012"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=17012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}