Connection between Workstation to Windows node (2012 R2) failed

Hi ,

I was trying to establish connection from my workstation to server but it failed with below error msg.

PS C:\Users\Administrator\learn-chef> knife wsman test 52.35.97.147 -m
WARNING: Failed to connect to 52.35.97.147 at http://52.35.97.147:5985/wsman.
ERROR: Failed to connect to 1 nodes.

I have stopped the firewall service on workstation and node. both server are running with windows server 2012 R2.

Also while running knife bootstrapp windows got failed with below error msg.

Creating new client for WIN-P0VUBHDUN2P
Creating new node for WIN-P0VUBHDUN2P

Waiting for remote response before bootstrap…ERROR: No response received from remote node after 2.42 minutes, gi
ving up.
ERROR: Exception: A connection attempt failed because the connected party did not properly respond after a period of tim
e, or established connection failed because connected host has failed to respond. - connect(2) for “52.35.97.147” port 5
985 (52.35.97.147:5985)
ERROR: Network Error: A connection attempt failed because the connected party did not properly respond after a period of
time, or established connection failed because connected host has failed to respond. - connect(2) for “52.35.97.147” po
rt 5985 (52.35.97.147:5985)

If any body has any suggestion or you came across similar issues…please update me.

Thanks,
Sita

Can you telnet to port 5985 on that box from your workstation?