{"id":477858,"date":"2023-08-09T09:21:22","date_gmt":"2023-08-09T09:21:22","guid":{"rendered":""},"modified":"2023-09-05T11:15:34","modified_gmt":"2023-09-05T11:15:34","slug":"localhost","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/localhost\/","title":{"rendered":"\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8"},"content":{"rendered":"<p>\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u3068\u306f\u3001\u30c7\u30d0\u30a4\u30b9 (\u901a\u5e38\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf) \u306e\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u3053\u3068\u3067\u3001\u540c\u3058\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30b5\u30fc\u30d3\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f IP \u30a2\u30c9\u30ec\u30b9 127.0.0.1 \u3067\u6307\u5b9a\u3055\u308c\u3001\u4e00\u822c\u7684\u306b\u30db\u30b9\u30c8\u540d\u300clocalhost\u300d\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30c7\u30d0\u30a4\u30b9\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30d7\u30ed\u30c8\u30b3\u30eb (IP) \u30b9\u30bf\u30c3\u30af\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d0\u30a4\u30b9\u81ea\u8eab\u3068\u901a\u4fe1\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Localhost\u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>Localhost \u306e\u6982\u5ff5\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u521d\u671f\u306e\u9803\u306b\u751f\u307e\u308c\u307e\u3057\u305f\u30021983 \u5e74\u3001Jon Postel \u3068 Joyce Reynolds \u306f\u3001\u300cIP \u30c7\u30fc\u30bf\u30b0\u30e9\u30e0\u306e\u8ee2\u9001\u6a19\u6e96\u300d(RFC 760) \u3067\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30a2\u30c9\u30ec\u30b9 (127.0.0.1) \u3092\u5b9a\u7fa9\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30a2\u30c9\u30ec\u30b9\u306f\u30c6\u30b9\u30c8\u3068\u8a3a\u65ad\u306e\u76ee\u7684\u3067\u4e88\u7d04\u3055\u308c\u3066\u304a\u308a\u3001\u958b\u767a\u8005\u306f\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u5fc5\u8981\u3068\u305b\u305a\u306b\u5358\u4e00\u306e\u30de\u30b7\u30f3\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30b5\u30fc\u30d0\u30fc \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Localhost \u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831: Localhost \u306e\u30c8\u30d4\u30c3\u30af\u306e\u62e1\u5f35<\/h2>\n<p>Localhost \u306f\u30c7\u30d0\u30a4\u30b9\u5185\u306e\u4eee\u60f3\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3068\u3057\u3066\u52d5\u4f5c\u3057\u3001\u540c\u3058\u30b7\u30b9\u30c6\u30e0\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u7570\u306a\u308b\u30d7\u30ed\u30bb\u30b9\u9593\u306e\u901a\u4fe1\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u304c IP \u30a2\u30c9\u30ec\u30b9 127.0.0.1 \u3092\u4f7f\u7528\u3057\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u8981\u6c42\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u8981\u6c42\u306f\u7269\u7406\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u30d0\u30a4\u30d1\u30b9\u3057\u3066\u5185\u90e8\u7684\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u3057\u3001\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3053\u3068\u306a\u304f\u30c7\u30d0\u30c3\u30b0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>localhost \u306f\u3001\u5b8c\u5168\u4fee\u98fe\u30c9\u30e1\u30a4\u30f3\u540d (FQDN)\u300clocalhost.localdomain\u300d\u307e\u305f\u306f\u5358\u306b\u300clocalhost\u300d\u3067\u53c2\u7167\u3067\u304d\u307e\u3059\u3002FQDN \u306f\u30eb\u30fc\u30d7\u30d0\u30c3\u30af IP \u30a2\u30c9\u30ec\u30b9\u306b\u89e3\u6c7a\u3055\u308c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30ed\u30fc\u30ab\u30eb \u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30b5\u30fc\u30d3\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u4fbf\u5229\u306a\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h2>Localhost \u306e\u5185\u90e8\u69cb\u9020: Localhost \u306e\u4ed5\u7d44\u307f<\/h2>\n<p>\u30c7\u30d0\u30a4\u30b9\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u307e\u305f\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c Localhost \u3068\u901a\u4fe1\u3059\u308b\u5834\u5408\u3001\u30c7\u30fc\u30bf\u306f\u30de\u30b7\u30f3\u304b\u3089\u5916\u306b\u51fa\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30c7\u30fc\u30bf \u30d1\u30b1\u30c3\u30c8\u306f\u3001\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5b9b\u3066\u3067\u3042\u308b\u304b\u306e\u3088\u3046\u306b\u30c7\u30d0\u30a4\u30b9\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30b9\u30bf\u30c3\u30af\u3092\u4ecb\u3057\u3066\u9001\u4fe1\u3055\u308c\u307e\u3059\u304c\u3001\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u3088\u3063\u3066\u508d\u53d7\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306f\u3001\u540c\u3058\u30de\u30b7\u30f3\u5185\u3067\u3001\u30c7\u30fc\u30bf\u3092\u8981\u6c42\u5143\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3057\u307e\u3059\u3002<\/p>\n<p>Localhost \u306e\u52d5\u4f5c\u306e\u6982\u8981\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f IP \u30a2\u30c9\u30ec\u30b9\u3078\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8981\u6c42\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/li>\n<li>\u8981\u6c42\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30b9\u30bf\u30c3\u30af\u306b\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30b9\u30bf\u30c3\u30af\u306f\u3001\u8981\u6c42\u304c\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30a2\u30c9\u30ec\u30b9 (127.0.0.1) \u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u8a8d\u8b58\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c7\u30fc\u30bf\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3063\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5185\u90e8\u7684\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3057\u3001\u305d\u308c\u306b\u5fdc\u3058\u3066\u5fdc\u7b54\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>Localhost \u306e\u4e3b\u306a\u6a5f\u80fd\u306e\u5206\u6790<\/h2>\n<p>Localhost \u306f\u3001\u958b\u767a\u8005\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u4e21\u65b9\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u5f79\u7acb\u3064\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30ed\u30fc\u30ab\u30eb\u30c6\u30b9\u30c8\u3068\u30c7\u30d0\u30c3\u30b0:<\/strong> \u958b\u767a\u8005\u306f\u3001\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3084\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u3092\u5fc5\u8981\u3068\u305b\u305a\u306b\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u304a\u3088\u3073\u30c7\u30d0\u30c3\u30b0\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5206\u96e2\uff1a<\/strong> Localhost \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5206\u96e2\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u305f\u3081\u3001\u4ed6\u306e\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u610f\u56f3\u3057\u306a\u3044\u5e72\u6e09\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ea\u30bd\u30fc\u30b9\u52b9\u7387:<\/strong> \u30c7\u30fc\u30bf\u306f\u540c\u3058\u30c7\u30d0\u30a4\u30b9\u5185\u306b\u7559\u307e\u308b\u305f\u3081\u3001Localhost \u7d4c\u7531\u306e\u901a\u4fe1\u306f\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u901a\u4fe1\u306b\u6bd4\u3079\u3066\u306f\u308b\u304b\u306b\u9ad8\u901f\u3067\u3001\u6d88\u8cbb\u3059\u308b\u30ea\u30bd\u30fc\u30b9\u3082\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u5168\u306a\u30c6\u30b9\u30c8\u74b0\u5883:<\/strong> Localhost \u3067\u306e\u30c6\u30b9\u30c8\u306f\u3001\u958b\u767a\u4e2d\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u516c\u958b\u3059\u308b\u3053\u3068\u306b\u95a2\u9023\u3059\u308b\u6f5c\u5728\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u5236\u5fa1\u3055\u308c\u305f\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u306e\u7a2e\u985e: \u30c6\u30fc\u30d6\u30eb\u3068\u30ea\u30b9\u30c8\u3092\u4f7f\u7528\u3059\u308b<\/h2>\n<p>\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u306f\u901a\u5e38\u3001IP \u30a2\u30c9\u30ec\u30b9 127.0.0.1 \u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30a2\u30c9\u30ec\u30b9\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u76ee\u7684\u3067\u4f7f\u7528\u3055\u308c\u308b\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>IP\u30a2\u30c9\u30ec\u30b9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8<\/td>\n<td>127.0.0.1<\/td>\n<td>\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u6700\u3082\u4e00\u822c\u7684\u306a\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30a2\u30c9\u30ec\u30b9\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30ea\u30f3\u30af\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8<\/td>\n<td>169.254.0.1<\/td>\n<td>\u30c7\u30d0\u30a4\u30b9\u304c IP \u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3067\u304d\u306a\u3044\u5834\u5408\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30b5\u30a4\u30c8\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8<\/td>\n<td>10.0.0.1-10.255.255.255<\/td>\n<td>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7528\u306b\u4e88\u7d04\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Localhost\u306e\u4f7f\u3044\u65b9\u3001\u4f7f\u7528\u4e0a\u306e\u554f\u984c\u3068\u305d\u306e\u89e3\u6c7a\u7b56<\/h2>\n<p>Localhost \u306f\u3055\u307e\u3056\u307e\u306a\u76ee\u7684\u306b\u4f7f\u7528\u3055\u308c\u3001\u3055\u307e\u3056\u307e\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30a6\u30a7\u30d6\u958b\u767a\uff1a<\/strong> Web \u958b\u767a\u8005\u306f\u3001Web \u30b5\u30a4\u30c8\u3084 Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u7a3c\u50cd\u30b5\u30fc\u30d0\u30fc\u306b\u5c55\u958b\u3059\u308b\u524d\u306b\u3001Localhost \u3092\u4f7f\u7528\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30b9\u30c8:<\/strong> \u958b\u767a\u8005\u306f Localhost \u3092\u4f7f\u7528\u3057\u3066\u3001\u81ea\u5206\u306e\u30de\u30b7\u30f3\u4e0a\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u3068\u30af\u30a8\u30ea\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8:<\/strong> Localhost \u306f\u3001\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306a\u3057\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30b5\u30fc\u30d0\u30fc \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u3088\u304f\u3042\u308b\u554f\u984c\u3068\u89e3\u6c7a\u7b56:<\/h3>\n<ol>\n<li>\n<p><strong>\u30dd\u30fc\u30c8\u306e\u7af6\u5408:<\/strong> \u8907\u6570\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c Localhost \u4e0a\u306e\u540c\u3058\u30dd\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u7af6\u5408\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30dd\u30fc\u30c8\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u304b\u3001\u7af6\u5408\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u7d42\u4e86\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u5236\u9650:<\/strong> \u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u304c Localhost \u63a5\u7d9a\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u4e00\u6642\u7684\u306b\u7121\u52b9\u306b\u3059\u308b\u304b\u3001\u7279\u5b9a\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u4f8b\u5916\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30db\u30b9\u30c8\u540d\u306e\u89e3\u6c7a\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093:<\/strong> \u30db\u30b9\u30c8\u540d\u300clocalhost\u300d\u304c\u6b63\u3057\u304f\u89e3\u6c7a\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3001hosts \u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u304b\u3001IP \u30a2\u30c9\u30ec\u30b9\u3092\u76f4\u63a5\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u56de\u907f\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u305d\u306e\u4ed6\u306e\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03\u3092\u8868\u3068\u30ea\u30b9\u30c8\u306e\u5f62\u5f0f\u3067\u793a\u3057\u307e\u3059\u3002<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u6027<\/th>\n<th>\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8<\/th>\n<th>\u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u4f4f\u6240<\/td>\n<td>127.0.0.1<\/td>\n<td>\u30d1\u30d6\u30ea\u30c3\u30afIP<\/td>\n<\/tr>\n<tr>\n<td>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u4f7f\u7528\u72b6\u6cc1<\/td>\n<td>\u30eb\u30fc\u30d7\u30d0\u30c3\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/td>\n<td>\u7269\u7406\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/td>\n<\/tr>\n<tr>\n<td>\u30c7\u30fc\u30bf\u8ee2\u9001<\/td>\n<td>\u30c7\u30d0\u30a4\u30b9\u5185\u90e8<\/td>\n<td>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u4ecb\u3057\u305f\u5916\u90e8<\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30d4\u30fc\u30c9<\/td>\n<td>\u975e\u5e38\u306b\u9ad8\u901f<\/td>\n<td>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u9045\u5ef6\u306e\u5f71\u97ff\u3092\u53d7\u3051\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168<\/td>\n<td>\u9ad8\u3044\u5b89\u5168\u6027<\/td>\n<td>\u5916\u90e8\u304b\u3089\u306e\u8105\u5a01\u306b\u5bfe\u3057\u3066\u8106\u5f31<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Localhost\u306b\u95a2\u9023\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>Localhost \u306e\u6982\u5ff5\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u3068\u30c6\u30b9\u30c8\u306e\u57fa\u672c\u3067\u3042\u308a\u7d9a\u3051\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u30c6\u30af\u30ce\u30ed\u30b8\u304c\u9032\u5316\u3059\u308b\u306b\u3064\u308c\u3066\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4eee\u60f3\u5316\u3068\u30b3\u30f3\u30c6\u30ca\u5316\u306e\u6a5f\u80fd\u5f37\u5316\u306b\u3088\u308a\u3001\u30c6\u30b9\u30c8\u3068\u5c55\u958b\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u3055\u3089\u306b\u52b9\u7387\u5316\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30c7\u30d0\u30c3\u30b0 \u30c4\u30fc\u30eb\u3068\u958b\u767a\u74b0\u5883\u306e\u9032\u6b69\u306b\u3088\u308a\u3001Localhost \u306e\u4f7f\u7528\u52b9\u7387\u306f\u5411\u4e0a\u3057\u7d9a\u3051\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u306e\u4f7f\u7528\u65b9\u6cd5\u3084Localhost\u3068\u306e\u95a2\u9023\u4ed8\u3051\u65b9\u6cd5<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u7279\u306b\u30c6\u30b9\u30c8 \u30b7\u30ca\u30ea\u30aa\u306b\u304a\u3044\u3066\u3001\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3067 Localhost \u306e\u4f7f\u7528\u3092\u88dc\u5b8c\u3067\u304d\u307e\u3059\u3002\u6b21\u306b\u4f8b\u3092\u3044\u304f\u3064\u304b\u793a\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u5206\u6790:<\/strong> \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f Localhost \u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u508d\u53d7\u3067\u304d\u308b\u305f\u3081\u3001\u958b\u767a\u8005\u306f\u30c7\u30d0\u30a4\u30b9\u4e0a\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9593\u3067\u4ea4\u63db\u3055\u308c\u308b\u30c7\u30fc\u30bf\u3092\u5206\u6790\u304a\u3088\u3073\u691c\u67fb\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u8ca0\u8377\u30c6\u30b9\u30c8:<\/strong> \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f Localhost \u5fdc\u7b54\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3001\u5b9f\u969b\u306e\u30b7\u30ca\u30ea\u30aa\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u3001\u3055\u307e\u3056\u307e\u306a\u8ca0\u8377\u4e0b\u3067\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30c6\u30b9\u30c8:<\/strong> \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u8005\u306f\u3055\u307e\u3056\u307e\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30b7\u30ca\u30ea\u30aa\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u3001\u6f5c\u5728\u7684\u306a\u8105\u5a01\u306b\u5bfe\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8010\u6027\u3092\u8a55\u4fa1\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>Localhost \u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc760\" target=\"_new\" rel=\"noopener nofollow\">RFC 760: DoD \u6a19\u6e96\u4f1d\u9001\u5236\u5fa1\u30d7\u30ed\u30c8\u30b3\u30eb<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Localhost\" target=\"_new\" rel=\"noopener nofollow\">Wikipedia \u306e\u30eb\u30fc\u30d7\u30d0\u30c3\u30af \u30a2\u30c9\u30ec\u30b9<\/a><\/li>\n<li><a href=\"https:\/\/www.howtogeek.com\/126304\/why-does-localhost-resolve-to-127.0.0.1-in-etc%5Chosts\/\" target=\"_new\" rel=\"noopener nofollow\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c6\u30b9\u30c8\u306b\u304a\u3051\u308b\u30eb\u30fc\u30d7\u30d0\u30c3\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u4f7f\u7528<\/a><\/li>\n<\/ol>\n<p>\u7d50\u8ad6\u3068\u3057\u3066\u3001Localhost \u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u958b\u767a\u3068\u30c6\u30b9\u30c8\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3001\u5358\u4e00\u306e\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b89\u5168\u304b\u3064\u52b9\u7387\u7684\u306b\u5b9f\u884c\u304a\u3088\u3073\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u305d\u306e\u6c4e\u7528\u6027\u3068\u4f7f\u3044\u3084\u3059\u3055\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u3068\u30c6\u30b9\u30c8\u62c5\u5f53\u8005\u306b\u3068\u3063\u3066\u57fa\u672c\u7684\u306a\u30c4\u30fc\u30eb\u3068\u306a\u308a\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3068\u306e\u9023\u643a\u306b\u3088\u308a\u6a5f\u80fd\u304c\u3055\u3089\u306b\u5f37\u5316\u3055\u308c\u307e\u3059\u3002\u30c6\u30af\u30ce\u30ed\u30b8\u304c\u9032\u6b69\u3059\u308b\u306b\u3064\u308c\u3066\u3001Localhost \u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306e\u4e16\u754c\u3067\u4fa1\u5024\u3042\u308b\u8cc7\u7523\u3067\u3042\u308a\u7d9a\u3051\u308b\u3067\u3057\u3087\u3046\u3002<\/p>","protected":false},"featured_media":468800,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477858","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Localhost: A Comprehensive Guide<\/mark>","faq_items":[{"question":"<strong>FAQs about Localhost<\/strong>","answer":""},{"question":"<strong>What is Localhost?<\/strong>","answer":"<p>Localhost is a loopback network interface on a device, usually a computer, used to access network services running on the same device. It is identified by the IP address 127.0.0.1 and allows a device to communicate with itself using the Internet Protocol (IP) stack.<\/p>"},{"question":"<strong>When was Localhost first introduced?<\/strong>","answer":"<p>Localhost was defined in 1983 by Jon Postel and Joyce Reynolds in the \"Standard for the Transmission of IP Datagrams\" (RFC 760). The loopback address (127.0.0.1) was reserved for testing and diagnostic purposes, enabling developers to run client-server applications on a single machine without external network requirements.<\/p>"},{"question":"<strong>How does Localhost work?<\/strong>","answer":"<p>When an application communicates with Localhost, the data never leaves the device. The data packets are sent through the device's network stack, as if they were destined for an external network, but are intercepted by the loopback interface. The operating system then routes the data back to the requesting application, all within the same machine.<\/p>"},{"question":"<strong>What are the key features of Localhost?<\/strong>","answer":"<p>Localhost offers several essential features, including local testing and debugging capabilities, isolation for preventing interference with external systems, resource efficiency, and a secure testing environment.<\/p>"},{"question":"<strong>What types of Localhost exist?<\/strong>","answer":"<p>There are different types of loopback addresses, each serving different purposes:<\/p><ul><li><strong>Localhost:<\/strong> The most common loopback address for general use (127.0.0.1).<\/li><li><strong>Link-Local Host:<\/strong> Used when a device cannot obtain an IP address (169.254.0.1).<\/li><li><strong>Site-Local Host:<\/strong> Reserved for private networks (10.0.0.1-10.255.255.255).<\/li><\/ul>"},{"question":"<strong>How is Localhost used in development and testing?<\/strong>","answer":"<p>Localhost is widely used in various scenarios:<\/p><ul><li><strong>Web Development:<\/strong> Developers test websites and web applications locally before deployment.<\/li><li><strong>Database Testing:<\/strong> Testing database connections and queries on the local machine.<\/li><li><strong>Application Testing:<\/strong> Testing client-server applications without external networks.<\/li><\/ul>"},{"question":"<strong>What are the common problems related to Localhost usage?<\/strong>","answer":"<p>Some common issues include:<\/p><ul><li><strong>Port Conflicts:<\/strong> When multiple applications use the same port on Localhost.<\/li><li><strong>Firewall Restrictions:<\/strong> Firewalls may block Localhost connections.<\/li><li><strong>Incorrect Hostname Resolution:<\/strong> When the hostname \"localhost\" does not resolve correctly.<\/li><\/ul>"},{"question":"<strong>How can proxy servers be associated with Localhost?<\/strong>","answer":"<p>Proxy servers complement Localhost in various ways, such as traffic analysis, caching, load testing, and security testing. They enhance Localhost's capabilities and aid in simulating real-world scenarios.<\/p>"},{"question":"<strong>What are the future perspectives of Localhost?<\/strong>","answer":"<p>Localhost is expected to remain crucial for local development and testing. As technology advances, network virtualization, containerization, debugging tools, and development environments will further improve Localhost usage.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477858\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/468800"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=477858"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}