- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Can't knife winrm to Windows box?
- Date: Wed, 12 Nov 2014 16:11:36 -0800
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
Archive powered by MHonArc 2.6.16.