{"id":3531,"date":"2020-04-27T01:27:49","date_gmt":"2020-04-26T16:27:49","guid":{"rendered":"https:\/\/tech.akat.info\/?p=3531"},"modified":"2020-04-27T01:27:49","modified_gmt":"2020-04-26T16:27:49","slug":"unbound164510-error-cant-bind-socket-cannot-assign-requested-address-for-1","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=3531","title":{"rendered":"unbound[16451:0] error: can&#8217;t bind socket: Cannot assign requested address for ::1"},"content":{"rendered":"<p>ipv6\u304c\u7121\u52b9\u306a\u74b0\u5883\u3067\u3001unbound\u304c\u8d77\u52d5\u3057\u306a\u304b\u3063\u305f\u3002<br \/>\ninterface\u3068do-ip6\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# cat \/etc\/lsb-release\r\nDISTRIB_ID=Ubuntu\r\nDISTRIB_RELEASE=16.04\r\nDISTRIB_CODENAME=xenial\r\nDISTRIB_DESCRIPTION=&quot;Ubuntu 16.04.6 LTS&quot;\r\n\r\n# systemctl status unbound\r\n...\r\nApr 27 01:05:46 hostname unbound&#x5B;16436]: &#x5B;1587917146] unbound&#x5B;16451:0] error: can't bind socket: Cannot assign requested address for ::1\r\nApr 27 01:05:46 hostname unbound&#x5B;16436]: &#x5B;1587917146] unbound&#x5B;16451:0] fatal error: could not open ports\r\nApr 27 01:05:46 hostname unbound&#x5B;16436]:    ...fail!\r\n...\r\n\r\n# vi \/etc\/unbound\/unbound.conf.d\/ip.conf\r\nserver:\r\n        interface: 127.0.0.1\r\n        do-ip4: yes\r\n        do-ip6: no\r\n\r\n# systemctl start unbound\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ipv6\u304c\u7121\u52b9\u306a\u74b0\u5883\u3067\u3001unbound\u304c\u8d77\u52d5\u3057\u306a\u304b\u3063\u305f\u3002 interface\u3068do-ip6\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 # cat \/etc\/lsb-release DISTRIB_I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[84,20],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/3531"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3531"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/3531\/revisions"}],"predecessor-version":[{"id":3532,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/3531\/revisions\/3532"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}