{"id":713,"date":"2020-07-22T20:23:12","date_gmt":"2020-07-22T12:23:12","guid":{"rendered":"https:\/\/www.dd-home.top\/?p=713"},"modified":"2020-07-22T20:23:12","modified_gmt":"2020-07-22T12:23:12","slug":"idea-%e5%90%af%e5%8a%a8%e6%97%b6%e6%8a%a5-address-already-in-use","status":"publish","type":"post","link":"https:\/\/www.dd-home.top\/?p=713","title":{"rendered":"idea \u542f\u52a8\u65f6\u62a5 address already in use"},"content":{"rendered":"<p>\u7cfb\u7edf\u5f00\u542fhyper-v<\/p>\n<ol>\n<li>\n<p>Disable hyper-v (which will required a couple of restarts)<br \/>\n<code>dism.exe \/Online \/Disable-Feature:Microsoft-Hyper-V<\/code><\/p>\n<\/li>\n<li>\n<p>When you finish all the required restarts, reserve the port you want so hyper-v doesn&#8217;t reserve it back<br \/>\n<code>netsh int ipv4 add excludedportrange protocol=tcp startport=<span data-darkreader-inline-color=\"\"><strong>&lt;\u7aef\u53e3\u53f7&gt;<\/strong><\/span>\u00a0numberofports=1<\/code><\/p>\n<\/li>\n<li>\n<p>Re-Enable hyper-V (which will require a couple of restart)<br \/>\n<code>dism.exe \/Online \/Enable-Feature:Microsoft-Hyper-V \/All<\/code><\/p>\n<\/li>\n<\/ol>\n<p>when your system is back, you will be able to bind to that port successfully.<\/p>\n<p>&nbsp;<\/p>\n<p><span data-darkreader-inline-color=\"\"><strong>\u628a\u7aef\u53e3\u53f7\u6539\u62106942~6991\u95f4\u7684\u4efb\u4e00\u4e2a\u6570\u5b57<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7cfb\u7edf\u5f00\u542fhyper-v Disable hyper-v (which will required a coup &hellip; <a href=\"https:\/\/www.dd-home.top\/?p=713\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">idea \u542f\u52a8\u65f6\u62a5 address already in use<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-713","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=713"}],"version-history":[{"count":0,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/713\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}