# This topic needs a title

**URL:** <https://forum.ansible.com/t/this-topic-needs-a-title/34390>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [January 4, 2021, 8:58am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390 "2021-01-04T08:58:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Gowda](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Post date:** [January 4, 2021, 8:58am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/1 "2021-01-04T08:58:10Z")

</div>

Hi All,  
I am trying to connect to windows server and getting the below error,can anyone please help me with this?

 ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)

my hosts file looks as below,

---

<div class="post-metadata">

**Author:** ![Deepak\_Gowda](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Post date:** [January 4, 2021, 8:59am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/2 "2021-01-04T08:59:35Z")

</div>

my hosts file looks as below,

 ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)

i am trying to configure communication between Ansible node and windows server with kerberos.

Thanks  
Deepak

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [January 4, 2021, 9:18am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/3 "2021-01-04T09:18:20Z")

</div>

Have you run the configureforansiblleremoting.ps1 script to set up the certificates? 5986 requires you to set up the winrm listener to be set up with a cert

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)

---

<div class="post-metadata">

**Author:** ![Deepak\_Gowda](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Post date:** [January 4, 2021, 9:58am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/4 "2021-01-04T09:58:40Z")

</div>

Hi,

Yes,did ran the script,

 ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/a/afc8948b9d31fd9ac7c0ae215050bdde43d7880c.png)

Thanks  
Deepak

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)

---

<div class="post-metadata">

**Author:** ![Emiliano\_Vazquez](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@Emiliano\_Vazquez](https://forum.ansible.com/u/Emiliano_Vazquez)\
**Post date:** [January 4, 2021, 1:03pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/5 "2021-01-04T13:03:52Z")

</div>

Looks like port 5986 is closed on your firewall.

use a tool like nmap to check if you can see this open

nmap your\_windows\_client\_ip -p 5896 -PN

The output will be something like this

 ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/5ac1b1931b9f1645b5ae3e504b9fdd980854e8bd.png)

This link has a lot of information about configuration of winrm  
[https://github.com/crombeen/ansible](https://github.com/crombeen/ansible)

Best regards.

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/a/afc8948b9d31fd9ac7c0ae215050bdde43d7880c.png)

---

<div class="post-metadata">

**Author:** ![Deepak\_Gowda](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Post date:** [January 5, 2021, 4:20am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/6 "2021-01-05T04:20:10Z")

</div>

Hi Emiliano,

The port says filtered,could you please help me with what can be done.

![image.png](https://us1.discourse-cdn.com/ansible/original/2X/6/6ad3b2a11fd8cada89f8a8fb31ae8f0fab7e0bb1.png)

Thanks  
Deepak

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/a/afc8948b9d31fd9ac7c0ae215050bdde43d7880c.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/5ac1b1931b9f1645b5ae3e504b9fdd980854e8bd.png)

---

<div class="post-metadata">

**Author:** ![Deepak\_Gowda](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Post date:** [January 5, 2021, 10:46am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/7 "2021-01-05T10:46:28Z")

</div>

checked on the windows server,

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/a/afc8948b9d31fd9ac7c0ae215050bdde43d7880c.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/5ac1b1931b9f1645b5ae3e504b9fdd980854e8bd.png)

---

<div class="post-metadata">

**Author:** ![Emiliano\_Vazquez](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@Emiliano\_Vazquez](https://forum.ansible.com/u/Emiliano_Vazquez)\
**Post date:** [January 5, 2021, 11:38am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390/8 "2021-01-05T11:38:52Z")

</div>

Hi Deepak!

You need to run this powershell script as administrator:

[https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1](https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1)

Inside of this ps1 you have this lines. This part open port 5986 for remote access.

 ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/574ff2b7eebd90ae29292e11d620ac4c4cd85306.png)

Best regards

> **(attachments)**
>
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/53691ea860dbad0922cfa7f0ee5d6cf417a69684.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/f/fe5a871a9f2f58d5b1358eb8bcd6e2ba1f63d181.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/a/afc8948b9d31fd9ac7c0ae215050bdde43d7880c.png)  
> ![image.png](https://us1.discourse-cdn.com/ansible/original/2X/5/5ac1b1931b9f1645b5ae3e504b9fdd980854e8bd.png)
