0

I am trying to use knife to bootstrap a windows machine. When running the command 'knife bootstrap windows winrm' i receive the following error:

ERROR: Network Error: Connection refused - connect(2) (http://<server>:5985)

What might be the problem?

Erik Sapir
  • 23,209
  • 28
  • 81
  • 141

1 Answers1

0

Open firewall port 5985 on your windows node. This port is used by WS-management. Click here to find out how to enable this port

slayedbylucifer
  • 22,878
  • 16
  • 94
  • 123