{"id":1120,"date":"2021-01-27T15:01:28","date_gmt":"2021-01-27T13:01:28","guid":{"rendered":"http:\/\/dety.net.ua\/?p=1120"},"modified":"2021-01-27T15:01:28","modified_gmt":"2021-01-27T13:01:28","slug":"winrm-doesnt-listen-to-an-ipv4","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=1120","title":{"rendered":"WinRM doesn&#8217;t listen to an IPv4"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I couldn&#8217;t connect to a PC with WinRM configured.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Netstat showed there were no 5985 listening port.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">winrm qc complained about firewall and public network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I played around but with no success.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I checked <code>netsh http show iplist<\/code> and there were [::] only.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, I added 127.0.0.1 and the IPv4 address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>netsh http add iplisten 127.0.0.1<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>net stop winrm<\/strong> and then <strong>net start winrm<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then I could connect to it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I couldn&#8217;t connect to a PC with WinRM configured. Netstat showed there were no 5985 listening port. winrm qc complained about firewall and public network. I played around but with no success. I checked netsh http show iplist and there were [::] only. So, I added 127.0.0.1 and the IPv4 address. netsh http add iplisten [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1120","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1120"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1120\/revisions"}],"predecessor-version":[{"id":1121,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1120\/revisions\/1121"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}