# unable to ping  windows machine

**URL:** <https://forum.ansible.com/t/unable-to-ping-windows-machine/33843>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [September 17, 2020, 2:30pm UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843 "2020-09-17T14:30:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRAVEEN\_KATTULAPALLI](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@PRAVEEN\_KATTULAPALLI](https://forum.ansible.com/u/PRAVEEN_KATTULAPALLI)\
**Post date:** [September 17, 2020, 2:30pm UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843/1 "2020-09-17T14:30:12Z")

</div>

server16 | UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “basic: HTTPConnectionPool(host=‘server16’, port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(\<urllib3.connection.HTTPConnection object at 0x7f8b2e02ed90\>, ‘Connection to 52.168.175.51 timed out. (connect timeout=30)’))”,  
“unreachable”: true

[windows]  
server16

[windows:vars]  
ansible\_user=root  
ansible\_password=password  
ansible\_connection=winrm  
ansible\_winrm\_transport=basic  
ansible\_port=5986  
ansible\_winrm\_server\_cert\_validation=ignore

plaese give me solution for this error. In windows machine i have run the power shell script that has shared in github. my winrm service also working fine, But still facing same issue.

---

<div class="post-metadata">

**Author:** ![Kundan\_Singh](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Post date:** [September 17, 2020, 2:39pm UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843/2 "2020-09-17T14:39:09Z")

</div>

Hi ,

Please provide the ip address of server in hosts file and then check

---

<div class="post-metadata">

**Author:** ![P\_R\_Music\_video\_s](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Post date:** [September 24, 2020, 3:50am UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843/3 "2020-09-24T03:50:40Z")

</div>

hi if you don’t have problem using open ssh install it in your windows server and use it it works well

Thanks  
Prajwal

---

<div class="post-metadata">

**Author:** ![PRAVEEN\_KATTULAPALLI](https://avatars.discourse-cdn.com/v4/letter/p/e79b87/32.png) [@PRAVEEN\_KATTULAPALLI](https://forum.ansible.com/u/PRAVEEN_KATTULAPALLI)\
**Post date:** [September 24, 2020, 4:35am UTC](https://forum.ansible.com/t/unable-to-ping-windows-machine/33843/4 "2020-09-24T04:35:55Z")

</div>

Hii,

Issue Resolved.

Thanks for your response.
