[chef] RE: Re: Can't knife winrm to Windows box?


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: Re: Can't knife winrm to Windows box?
  • Date: Thu, 13 Nov 2014 00:13:50 +0000
  • Accept-language: en-US

-----Original Message-----
From: Daniel DeLeo 
[mailto:
 On Behalf Of Daniel DeLeo
Sent: Wednesday, November 12, 2014 7:12 PM
To: 

Subject: [chef] Re: Can't knife winrm to Windows box?



On Wednesday, November 12, 2014 at 4:09 PM, Fouts, Chris wrote:

> I’ve done everything described here. In my case it’s a Windows Server 2012 
> R2 box.
> https://docs.getchef.com/plugin_knife_windows.html
>  
> knife winrm ………….. gives
>  
> 
>  ~]# knife winrm "mynode.domain.com 
> (http://mynode.domain.com)" "dir" -m -x Administrator -P myPW -p 5986
> ERROR: Network Error: Connection refused - connect(2) 
> (https://mynode.domain.com:5986) Check your knife configuration and 
> network settings
>  
> Any clues? Any more debugging steps I can take?
>  
> Thanks,
> Chris

Connection refused means that either nothing is listening on that port on 
that host, or there is a firewall that makes it look like nothing is 
listening on that port on that host.  

--
Daniel DeLeo

Yes of course, but why? I've done all in the link I posted?

Chris






Archive powered by MHonArc 2.6.16.

§