# Is there a way to get the Gateway hostname from a client?

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-way-to-get-the-gateway-hostname-from-a-client/7504>\
**Category:** Ignition\
**Created:** [October 31, 2013, 2:59pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-get-the-gateway-hostname-from-a-client/7504 "2013-10-31T14:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [October 31, 2013, 2:59pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-get-the-gateway-hostname-from-a-client/7504/1 "2013-10-31T14:59:45Z")

</div>

Is there a way to get the Gateway server hostname from a client?

I just want to display the Ignition gateway server hostname that a client is connected to on the client window. This can be useful since we may connect to a production vs test gateway server. I thought about parsing the GatewayAddress tag, but that typically will just have “localhost” for the gateway server.

Thanks,  
Bob

---

<div class="post-metadata">

**Author:** ![jaepark](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jaepark](https://forum.inductiveautomation.com/u/jaepark)\
**Post date:** [October 31, 2013, 3:07pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-get-the-gateway-hostname-from-a-client/7504/2 "2013-10-31T15:07:14Z")

</div>

Did you try looking at that tag from a client/designer that is not launched from the same server as the gateway?

---

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [October 31, 2013, 3:18pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-get-the-gateway-hostname-from-a-client/7504/3 "2013-10-31T15:18:23Z")

</div>

Ah, that makes sense. The gateway server name is there, I will parse the tag. Thanks for the nudge!
