# How to get the device/host Name on client server

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-the-device-host-name-on-client-server/59046>\
**Category:** Ignition\
**Tags:** ignition80, ignition81, perspective\
**Created:** [April 29, 2022, 11:43am UTC](https://forum.inductiveautomation.com/t/how-to-get-the-device-host-name-on-client-server/59046 "2022-04-29T11:43:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Arun\_Teja\_Gattu](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@Arun\_Teja\_Gattu](https://forum.inductiveautomation.com/u/Arun_Teja_Gattu)\
**Post date:** [April 29, 2022, 11:43am UTC](https://forum.inductiveautomation.com/t/how-to-get-the-device-host-name-on-client-server/59046/1 "2022-04-29T11:43:51Z")

</div>

Hi all,

The script system.net.getHostName() returns the host/device name in local device and in client server it was returning the server name but instead of server name is their any chance to get the device name in the server side too.  
Do we have any inbuilt-function or script to get this requirement. please suggest something to solve this.

Thanks

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-get-the-device-host-name-on-client-server/59046)._
