{"id":88244,"date":"2020-02-09T23:08:02","date_gmt":"2020-02-09T15:08:02","guid":{"rendered":"http:\/\/4563.org\/?p=88244"},"modified":"2020-02-09T23:08:02","modified_gmt":"2020-02-09T15:08:02","slug":"http-%e6%8a%a5%e6%96%87%e7%9a%84-host-%e5%ad%97%e6%ae%b5%e6%98%af%e5%b9%b2%e5%95%a5%e7%94%a8%e7%9a%84","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=88244","title":{"rendered":"http \u62a5\u6587\u7684 host \u5b57\u6bb5\u662f\u5e72\u5565\u7528\u7684"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  http \u62a5\u6587\u7684 host \u5b57\u6bb5\u662f\u5e72\u5565\u7528\u7684               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <span><i><\/i> 22<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Host \u662f HTTP 1.1 \u534f\u8bae\u4e2d\u65b0\u589e\u7684\u4e00\u4e2a\u8bf7\u6c42\u5934\uff0c\u4e3b\u8981\u7528\u6765\u5b9e\u73b0\u865a\u62df\u4e3b\u673a\u6280\u672f\u3002<\/p>\n<p>\u865a\u62df\u4e3b\u673a\uff08 virtual hosting \uff09\u5373\u5171\u4eab\u4e3b\u673a\uff08 shared web hosting \uff09\uff0c\u53ef\u4ee5\u5229\u7528\u865a\u62df\u6280\u672f\u628a\u4e00\u53f0\u5b8c\u6574\u7684\u670d\u52a1\u5668\u5206\u6210\u82e5\u5e72\u4e2a\u4e3b\u673a\uff0c\u56e0\u6b64\u53ef\u4ee5\u5728\u5355\u4e00\u4e3b\u673a\u4e0a\u8fd0\u884c\u591a\u4e2a\u7f51\u7ad9\u6216\u670d\u52a1\u3002<\/p>\n<p>\u4e3e\u4e2a\u6817\u5b50\uff0c\u6709\u4e00\u53f0 ip \u5730\u5740\u4e3a 61.135.169.125 \u7684\u670d\u52a1\u5668\uff0c\u5728\u8fd9\u53f0\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u7740\u8c37\u6b4c\u3001\u767e\u5ea6\u3001\u6dd8\u5b9d\u7684\u7f51\u7ad9\u3002\u4e3a\u4ec0\u4e48\u6211\u4eec\u8bbf\u95ee https:\/\/www.google.com \u65f6\uff0c\u770b\u5230\u7684\u662f Google \u7684\u9996\u9875\u800c\u4e0d\u662f\u767e\u5ea6\u6216\u8005\u6dd8\u5b9d\u7684\u9996\u9875\uff1f\u539f\u56e0\u5c31\u662f Host \u8bf7\u6c42\u5934\u51b3\u5b9a\u7740\u8bbf\u95ee\u54ea\u4e2a\u865a\u62df\u4e3b\u673a\u3002<\/p>\n<p>\u7f51\u4e0a\u8bf4\u7684\u8fd9\u4e2a\u8bf4\u6cd5\u5bf9\u5417\uff1f\u6211\u4eec\u53d1\u9001\u4e00\u4e2a\u8bf7\u6c42\u4e0d\u662f\u6700\u540e\u90fd\u88ab\u89e3\u6790\u6210 ip\uff1a\u7aef\u53e3\uff0c\u8fd9\u6837\u4e0d\u5c31\u80fd\u533a\u5206\u540c\u4e00\u53f0\u673a\u5668\u7684\u4e0d\u540c\u670d\u52a1\uff0c\u4e3a\u4ec0\u4e48\u8981\u8fd9\u4e2a host \u5b57\u6bb5\u5462\uff1f\u8c37\u6b4c\u4e5f\u67e5\u8fc7\u4e86\uff0c\u770b\u4e0d\u592a\u61c2\u8fd9\u4e2a\u7684\u610f\u601d<\/p>\n<p>\u6211\u73b0\u5728\u7684\u7406\u89e3\u662f\u76f8\u5f53\u4e8e\u53ef\u4ee5\u540c\u4e00\u4e2a ip \u548c\u540c\u4e00\u4e2a\u7aef\u53e3\u53f7\uff0c\u90e8\u7f72\u4e0d\u540c\u7684\u7f51\u7ad9\u8fd9\u6837\u5b50\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1138042\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Telegram <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u865a\u62df\u4e3b\u673a\uff0c\u4e00\u4e2a IP \u4e0a\u6210\u767e\u4e0a\u5343\u4e2a\u7f51\u7ad9\uff0c\u4f46\u662f http \u670d\u52a1\uff0c\u9ed8\u8ba4\u90fd\u662f 80 \u7aef\u53e3\u3002<br \/>\u6ca1\u6709 host\uff0c\u670d\u52a1\u7aef\u600e\u4e48\u77e5\u9053\u4f60\u5230\u5e95\u8bbf\u95ee\u7684\u662f\u54ea\u4e2a\u7f51\u7ad9\u3002\u3002\u3002<\/p>\n<p>\u4f60\u81ea\u5df1\u8bf4\u7684\u4e5f\u6709\u9053\u7406\uff0c\u4f46\u662f\u4f60\u4e0d\u80fd\u8ba9\u6bcf\u4e2a\u7f51\u7ad9\u90fd\u662f\u72ec\u7acb\u7aef\u53e3\u5427??<br \/>aaa.com:8081<br \/>bbb.com:8082<br \/>\u8fd9\u79cd\u5e26\u7aef\u53e3\u8bbf\u95ee\uff0c\u4f60\u4e0d\u89c9\u5f97\u4e11\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138043\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Morge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             The &#8220;Host&#8221; header field in a request provides the host and port information from the target URI, enabling the origin server to distinguish among resources while servicing requests for multiple host names on a single IP address.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138044\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Morge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8be6\u60c5\u8bf7\u89c1 RFC7230 \u7b2c 5.4 \u8282                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138045\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuxey <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53c2\u8003 Nginx \u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684 Host \u5728\u540c\u4e00\u7aef\u53e3 serve \u4e0d\u540c\u7684\u7f51\u7ad9\u5185\u5bb9<\/p>\n<p>http:\/\/nginx.org\/en\/docs\/http\/server_names.html                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138046\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : heyjei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9996\u5148\u4f60\u8981\u61c2\u5f97\u7f51\u7edc\u5206\u5c42\u7684\u539f\u7406\uff0c\u5728\u6211\u4eec TCP\/IP \u7f51\u7edc\u6a21\u578b\u4e2d\uff0c\u5206\u56db\u5c42\uff1a\u7269\u7406\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u4f20\u8f93\u5c42\u3001\u5e94\u7528\u5c42\u3002<\/p>\n<p>\u4f20\u8f93\u5c42\uff1a<br \/>\u5728\u6211\u4eec\u8fd9\u91cc\u4f20\u8f93\u5c42\u7528\u7684\u662f TCP \u534f\u8bae\uff0c\u5982\u679c\u6d4f\u89c8\u5668\u8981\u548c\u670d\u52a1\u5668\u7684 WEB \u670d\u52a1\u5668\u901a\u4fe1\uff0c\u9996\u5148\u8981\u5728\u4f20\u8f93\u5c42\u4e0a\u5efa\u7acb\u8fde\u63a5\u5e76\u4f20\u8f93\u6570\u636e\uff0c\u8fd9\u91cc\u4ed6\u4eec\u9700\u8981\u901a\u8fc7 IP:Port &lt;&#8211;&gt; IP:Port \u8fd9\u79cd\u56db\u5143\u7ec4\u6765\u5b9a\u4f4d\u5bf9\u65b9\u7684\u4f4d\u7f6e\u3002\u8fd9\u65f6\u5019\u662f\u6ca1\u6709\u57df\u540d\u7684\u6982\u5ff5\u7684\uff0c\u6d4f\u89c8\u5668\u8981\u548c\u5bf9\u65b9\u7684\u670d\u52a1\u5668\u901a\u4fe1\u5fc5\u987b\u628a\u57df\u540d\u901a\u8fc7 DNS \u534f\u8bae\u89e3\u6790\u6210 IP \u5730\u5740\uff1b<\/p>\n<p>\u5e94\u7528\u5c42\uff1a<br \/>\u8fd9\u91cc\u5e94\u7528\u5c42\u7684\u534f\u8bae\u662f HTTP \u6216\u8005 HTTPS\uff0c\u5e94\u7528\u5c42\u7684\u6570\u636e\u662f\u901a\u8fc7 TCP \u8fde\u63a5\u4f20\u8f93\u8fc7\u53bb\u7684\u3002WEB \u670d\u52a1\u5668\u6536\u5230 HTTP \u534f\u8bae\u7684\u6570\u636e\u540e\uff0c\u5c31\u4f1a\u89e3\u6790 Host \u5934\u90e8\u4fe1\u606f\uff0c\u5224\u65ad\u8fd9\u4e2a HTTP \u8bf7\u6c42\u5e94\u8be5\u8ba9\u8c01\u6765\u5904\u7406\uff08\u5728\u6211\u4eec\u8fd9\u91cc\u662f\u8bbf\u95ee\u5bf9\u5e94\u57df\u540d\u7684\u7f51\u7ad9 \/\u865a\u62df\u4e3b\u673a\uff09\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138047\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : elfive <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @heyjei host \u662f\u7eaf\u7684\u5e94\u7528\u5c42\u7684\u4e1c\u897f\uff0c\u548c\u4f60\u90a3\u51e0\u4e2a\u5c42\u5b8c\u5168\u4e0d\u76f8\u5173\u3002<br \/>\u5b83\u5c31\u662f\u4e00\u6240\u8bf4\u7684\uff0c\u865a\u62df\u4e3b\u673a\u3002\u662f HTTP1.1 \u7248\u672c\u63d0\u51fa\u6765\u7684\u4e1c\u897f\uff0c\u662f HTTP1.1 \u7248\u672c\u4e4b\u540e\u534f\u8bae\u89c4\u5b9a\u6240\u5fc5\u987b\u8981\u6dfb\u52a0\u7684\u5185\u5bb9\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138048\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dandycheung <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u6700\u540e\u7406\u89e3\u7684\u5c31\u5bf9\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138049\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuzhiyong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8bf4\u7684\u201c\u540c\u4e00\u4e2a ip \u548c\u540c\u4e00\u4e2a\u7aef\u53e3\u53f7\uff0c\u90e8\u7f72\u4e0d\u540c\u7684\u7f51\u7ad9\u201d\u5c31\u662f\u6b63\u786e\u7b54\u6848\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138050\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dobelee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u770b\u4e3b\u5c31\u66b4\u9732\u5e74\u9f84\u4e86\uff0c\u5341\u51e0\u5e74\u524d\u4e91\u4e3b\u673a\u8fd8\u4e0d\u6d41\u884c\uff0c\u90fd\u662f\u865a\u62df\u4e3b\u673a\u7684\u5929\u4e0b\uff0c\u5f88\u591a\u4eba\u5171\u7528\u4e00\u4e2a IP\uff0c\u5c31\u9760 host \u7ed1\u5b9a\u57df\u540d\u6765\u8def\u7531\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138051\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shansing <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u7684\u7406\u89e3\u662f\u5bf9\u7684\uff0c\u7f51\u4e0a\u7684\u8bf4\u6cd5\u4e5f\u6ca1\u9519\uff0c\u5c31\u662f\u6709\u70b9\u8bef\u5bfc\u3002\u5b83\u5047\u8bbe\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u7740\u8c37\u6b4c\u3001\u767e\u5ea6\u3001\u6dd8\u5b9d\u7684\u7f51\u7ad9\uff0c\u8fd8\u7528\u57df\u540d www.google.com \u4e3e\u4f8b\u5b50\uff0c\u6211\u4eec\u77e5\u9053\u57fa\u672c\u4e0d\u7b26\u5408\u73b0\u5b9e\u3002<br \/>\u53e6\u5916\u8981\u6ce8\u610f\u7684\u662f\uff0c\u786e\u5b9e\uff08\u4e00\u90e8\u5206\uff09\u7f51\u5740\u4f1a\u89e3\u6790\u6210\u201c\u89e3\u6790\u6210 ip\uff1a\u7aef\u53e3\u201d\uff0c\u4f46\u5f53\u4f60\u4e0d\uff08\u663e\u5f0f\uff09\u6307\u5b9a\u7aef\u53e3\u7684\u65f6\u5019\uff0c\u603b\u662f\u9ed8\u8ba4\u7aef\u53e3\uff0c\u5373 80 \uff08 HTTP \uff09\u6216 443 \uff08 HTTPS \uff09\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138052\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shansing <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @shansing \uff08\u4e00\u90e8\u5206\uff09\u7f51\u5740 \u2192 \u7f51\u5740\uff08\u7684\u4e00\u90e8\u5206\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138053\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : saluton <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dobelee H \u7403\u7a7a\u95f4\u4e86\u89e3\u4e00\u4e0b\uff08\u60f3\u4e86\u534a\u5929\u624d\u60f3\u8d77\u8fd9\u4e2a\u540d\u5b57                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1138054\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : msg7086 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &gt; \u6211\u4eec\u53d1\u9001\u4e00\u4e2a\u8bf7\u6c42\u4e0d\u662f\u6700\u540e\u90fd\u88ab\u89e3\u6790\u6210 ip\uff1a\u7aef\u53e3<\/p>\n<p>\u5f53\u7136\u4e0d\u662f\u3002\u4f60\u7684\u8bf7\u6c42\u5c31\u662f\u4f60\u7684\u8bf7\u6c42\uff0c\u53d1\u51fa\u53bb\u662f\u4ec0\u4e48\u6837\uff0c\u522b\u4eba\u6536\u5230\u5c31\u662f\u4ec0\u4e48\u6837\u3002ip \u53ea\u662f\u4ece\u57df\u540d\u505a\u89e3\u6790\uff0c\u548c\u4f60\u62a5\u6587\u91cc\u5199\u7684\u5185\u5bb9\u662f\u65e0\u5173\u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>http \u62a5\u6587\u7684 host \u5b57\u6bb5\u662f&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88244"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88244"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88244\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88244"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}