{"id":2936,"date":"2024-07-05T11:52:02","date_gmt":"2024-07-05T03:52:02","guid":{"rendered":"http:\/\/www.plm.cn\/?p=2936"},"modified":"2024-07-05T11:52:02","modified_gmt":"2024-07-05T03:52:02","slug":"hosts%e6%80%8e%e4%b9%88%e6%b7%bb%e5%8a%a0ip%e5%92%8c%e5%9f%9f%e5%90%8d%e8%a7%a3%e6%9e%90","status":"publish","type":"post","link":"http:\/\/www.plm.cn\/2936\/","title":{"rendered":"hosts\u600e\u4e48\u6dfb\u52a0ip\u548c\u57df\u540d\u89e3\u6790"},"content":{"rendered":"

\u5728\u4f01\u4e1a\u7f51\u7edc\u73af\u5883\u4e2d\u67d0\u4e00\u53f0\u5185\u7f51\u670d\u52a1\u5668\uff08IP: 192.618.0.8\uff09\uff0c\u901a\u8fc7\u7aef\u53e3\u6620\u5c04\u540e\u53d1\u5e03\u5230\u5916\u7f51\u3002\uff08\u5f80\u5f80\u4f1a\u7ed9\u8fd9\u4e2a\u670d\u52a1\u5668\u5f04\u4e00\u4e2a\u57df\u540d \u6bd4\u5982\uff1aled.hzfims.com \u3002\u800c\u6bd4\u8f83\u9ebb\u70e6\u7684\u662f \u4f01\u4e1a\u5bf9\u7f51\u7edc\u6709\u5b89\u5168\u9650\u5236\uff0c\u9020\u6210\u5c40\u57df\u7f51\u5185\u90e8\u7684\u673a\u5668\u65e0\u6cd5\u8bbf\u95ee led.hzfims.com \u8fd9\u4e2a\u57df\u540d\u3002\uff09\u8fd9\u4e2a\u65f6\u5019\u6211\u4eec\u9700\u8981\u5bf9\u5c40\u57df\u7f51\u7684\u673a\u5668\u81ea\u5df1\u505a\u57df\u540d\u89e3\u6790\u3002\u5c06led.hzfims.com \u5f3a\u5236\u89e3\u6790\u5230 192.618.0.8<\/p>\n

\u5b9e\u73b0\u8fc7\u7a0b\uff0c\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u6765\u4fee\u6539\u300ahosts\u6587\u4ef6\u300b\uff0c\u4ece\u800c\u5c06\u67d0\u4e00\u4e2a\u57df\u540d\u89e3\u6790\u5230\u6307\u5b9aIP\uff1a<\/p>\n

\u5bfb\u627e\u300ahosts\u6587\u4ef6\u300b\uff1a<\/h4>\n

\u4e00\u822c\u60c5\u51b5\u4e0b\uff0cWindows\u7cfb\u7edf\u7684\u300ahosts\u6587\u4ef6\u300b\u4f4d\u4e8eC:\\Windows\\System32\\drivers\\etc\u76ee\u5f55\u4e0b\u3002<\/p>\n

\u6ce8\u610f\uff0c\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u5b89\u88c5\u5728\u5176\u4ed6\u76d8\u7b26\uff0c\u4f60\u9700\u8981\u627e\u5230\u76f8\u5e94\u7684\u7cfb\u7edf\u76d8\u4e0b\u7684\u8fd9\u4e2a\u8def\u5f84\u3002<\/p>\n

\u7f16\u8f91\u300ahosts\u6587\u4ef6\u300b\uff1a<\/h4>\n

\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u6253\u5f00\u8bb0\u4e8b\u672c\u6216\u5176\u4ed6\u6587\u672c\u7f16\u8f91\u5668\uff08\u5982notepad \u8bb0\u4e8b\u672c\uff09\u3002<\/p>\n

\u53f3\u952e\u70b9\u51fb\u300ahosts\u6587\u4ef6\u300b\uff0c\u9009\u62e9\u201c\u6253\u5f00\u65b9\u5f0f\u201d\uff0c\u7136\u540e\u9009\u62e9\u201c\u8bb0\u4e8b\u672c\u201d\u6216\u5176\u4ed6\u4f60\u559c\u6b22\u7684\u6587\u672c\u7f16\u8f91\u5668\u3002<\/p>\n

\u5176\u5b9e\u5c31\u662f\u7528 notepad \u76f4\u63a5\u6253\u5f00\uff08C:\\Windows\\System32\\drivers\\etc\\hosts\uff09 \u5c31\u53ef\u4ee5<\/p>\n

\u6dfb\u52a0IP\u548c\u57df\u540d\uff1a<\/h4>\n

\u5728\u300ahosts\u6587\u4ef6\u300b\u7684\u672b\u5c3e\u6dfb\u52a0\u4e00\u884c\uff0c\u683c\u5f0f\u4e3a\u201cIP\u5730\u5740 \u57df\u540d\u201d\u3002<\/p>\n

\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5c06led.hzfims.com\u89e3\u6790\u5230192.168.0.8\uff0c\u4f60\u5e94\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a192.168.0.8 led.hzfims.com\u3002<\/p>\n

\u6ce8\u610f\uff0cIP\u524d\u9762\u65e0\u9700\u7a7a\u683c\uff0c\u57df\u540d\u548cIP\u4e4b\u95f4\u81f3\u5c11\u7a7a\u4e00\u683c\u3002<\/p>\n

\"\"<\/p>\n

\u4fdd\u5b58\u5e76\u5173\u95ed\u6587\u4ef6\uff1a<\/h4>\n

\u5b8c\u6210\u7f16\u8f91\u540e\uff0c\u4fdd\u5b58\u5e76\u5173\u95ed\u6587\u4ef6\u3002<\/p>\n

\u5237\u65b0DNS\u7f13\u5b58\uff1a<\/h4>\n

\u4e3a\u4e86\u4f7f\u66f4\u6539\u7acb\u5373\u751f\u6548\uff0c\u4f60\u9700\u8981\u5237\u65b0DNS\u7f13\u5b58\u3002<\/p>\n

\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\uff0c\u8f93\u5165ipconfig \/flushdns\u5e76\u56de\u8f66\u3002<\/p>\n

\u9a8c\u8bc1\u66f4\u6539\u662f\u5426\u6210\u529f\uff1a<\/h4>\n

\u4f60\u53ef\u4ee5\u901a\u8fc7ping\u547d\u4ee4\u6765\u9a8c\u8bc1\u66f4\u6539\u662f\u5426\u751f\u6548\u3002\u4f8b\u5982\uff0c\u8f93\u5165ping led.hzfims.com\u5e76\u67e5\u770b\u8fd4\u56de\u7684IP\u5730\u5740\u662f\u5426\u4e3a\u4f60\u6240\u6dfb\u52a0\u7684192.168.0.8\u3002<\/p>\n

\u53e6\u5916\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u8be5\u57df\u540d\uff0c\u770b\u770b\u662f\u5426\u80fd\u591f\u6b63\u786e\u89e3\u6790\u5230\u5bf9\u5e94\u7684IP\u5730\u5740\u3002<\/p>\n

\u8bf7\u6ce8\u610f\uff0c\u4fee\u6539\u300ahosts\u6587\u4ef6\u300b\u662f\u4e00\u79cd\u76f4\u63a5\u89e3\u6790\u57df\u540d\u5230IP\u7684\u65b9\u6cd5\uff0c\u8fd9\u901a\u5e38\u7528\u4e8e\u7ed5\u8fc7DNS\u670d\u52a1\u5668\u6216\u8fdb\u884c\u672c\u5730\u5f00\u53d1\u6d4b\u8bd5\u3002\u4f46\u8bf7\u786e\u4fdd\u4f60\u77e5\u9053\u81ea\u5df1\u5728\u505a\u4ec0\u4e48\uff0c\u5e76\u907f\u514d\u968f\u610f\u4fee\u6539\u7cfb\u7edf\u6587\u4ef6\uff0c\u56e0\u4e3a\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7f51\u7edc\u95ee\u9898\u6216\u5176\u4ed6\u4e0d\u53ef\u9884\u89c1\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u4f01\u4e1a\u7f51\u7edc\u73af\u5883\u4e2d\u67d0\u4e00\u53f0\u5185\u7f51\u670d\u52a1\u5668\uff08IP: 192.618.0.8\uff09\uff0c\u901a\u8fc7\u7aef\u53e3\u6620\u5c04\u540e\u53d1\u5e03\u5230\u5916\u7f51\u3002\uff08\u5f80\u5f80\u4f1a\u7ed9\u8fd9\u4e2a\u670d […]<\/p>\n","protected":false},"author":1,"featured_media":2937,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,12],"tags":[13,15],"class_list":["post-2936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plmcenter","category-ssdoc","tag-shouche","tag-fangan"],"_links":{"self":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts\/2936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/comments?post=2936"}],"version-history":[{"count":1,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts\/2936\/revisions"}],"predecessor-version":[{"id":2938,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/posts\/2936\/revisions\/2938"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/media\/2937"}],"wp:attachment":[{"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/media?parent=2936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/categories?post=2936"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.plm.cn\/wp-json\/wp\/v2\/tags?post=2936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}