- From: "Fouts, Chris" <
>
- To: "
" <
>
- Subject: [chef] RE: Re: Can't knife winrm to Windows box?
- Date: Thu, 13 Nov 2014 00:21:00 +0000
- Accept-language: en-US
Sorry wrong port on previous post...
~]# nmap -p 5986 mynode.domain.com
Starting Nmap 4.11 (
http://www.insecure.org/nmap/ ) at 2014-11-12 19:18 EST
Interesting ports on <ip removed>:
PORT STATE SERVICE
5986/tcp filtered unknown
Nmap finished: 1 IP address (1 host up) scanned in 0.358 seconds
-----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
Archive powered by MHonArc 2.6.16.