# How to access the hostname of the machine running Home Assistant?

**URL:** <https://discourse.nodered.org/t/how-to-access-the-hostname-of-the-machine-running-home-assistant/47055>\
**Category:** General\
**Created:** [11 June 2021 23:59 UTC](https://discourse.nodered.org/t/how-to-access-the-hostname-of-the-machine-running-home-assistant/47055 "2021-06-11T23:59:19Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [16 June 2021 19:43 UTC](https://discourse.nodered.org/t/how-to-access-the-hostname-of-the-machine-running-home-assistant/47055/12 "2021-06-16T19:43:50Z")

</div>

Hello steve2020  
For my part, I had solved this problem in this [way](https://discourse.nodered.org/t/issue-commands-from-a-docker-container-on-the-host-where-it-run/46492). Maybe you are interested.  
Well it's to get the IP address of the host, but same idea to get the name of the host

---

_[View the full topic](https://discourse.nodered.org/t/how-to-access-the-hostname-of-the-machine-running-home-assistant/47055)._
