# Unable to do basic win\_ping from CentOS7 to Windows 2012

**URL:** <https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [August 31, 2017, 9:51am UTC](https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383 "2017-08-31T09:51:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohail.prodevans](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sohail.prodevans](https://forum.ansible.com/u/sohail.prodevans)\
**Post date:** [August 31, 2017, 9:51am UTC](https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383/1 "2017-08-31T09:51:00Z")

</div>

Use windows fqdn name in place of IPaddress then it will work

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [August 31, 2017, 9:54am UTC](https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383/2 "2017-08-31T09:54:28Z")

</div>

Well spotted! Yeah, use hostnames. If you end up switching over to using kerberos hostnames are essential (as is fully functioning DNS lookups (both hostname → ip and ip → hostname).

Jon

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [August 31, 2017, 7:27pm UTC](https://forum.ansible.com/t/unable-to-do-basic-win-ping-from-centos7-to-windows-2012/25383/3 "2017-08-31T19:27:28Z")

</div>

What are you trying that produces the access denied message?
