# Ansible adhoc command stuck on host pingable but not reachable on port 22

**URL:** <https://forum.ansible.com/t/ansible-adhoc-command-stuck-on-host-pingable-but-not-reachable-on-port-22/4591>\
**Category:** Get Help\
**Tags:** ansible-core\
**Created:** [March 27, 2024, 1:13pm UTC](https://forum.ansible.com/t/ansible-adhoc-command-stuck-on-host-pingable-but-not-reachable-on-port-22/4591 "2024-03-27T13:13:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bcoca](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bcoca/32/9269_2.png) [@bcoca](https://forum.ansible.com/u/bcoca)\
**Post date:** [March 29, 2024, 1:24pm UTC](https://forum.ansible.com/t/ansible-adhoc-command-stuck-on-host-pingable-but-not-reachable-on-port-22/4591/4 "2024-03-29T13:24:39Z")

</div>

Those timeouts apply to some specific parts of the connection, not the total execution (see task timeout for that), so you can get to a point where those timeouts are not relevant anymore and still get stuck.

---

_[View the full topic](https://forum.ansible.com/t/ansible-adhoc-command-stuck-on-host-pingable-but-not-reachable-on-port-22/4591)._
