# How can i get browser ip by dashboard button

**URL:** <https://discourse.nodered.org/t/how-can-i-get-browser-ip-by-dashboard-button/58531>\
**Category:** General\
**Tags:** node-red-dashboard\
**Created:** [17 February 2022 10:58 UTC](https://discourse.nodered.org/t/how-can-i-get-browser-ip-by-dashboard-button/58531 "2022-02-17T10:58:36Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [20 February 2022 15:22 UTC](https://discourse.nodered.org/t/how-can-i-get-browser-ip-by-dashboard-button/58531/17 "2022-02-20T15:22:06Z")

</div>

I use Ui-control with connect messages to store the ip and socket id of clients.  
if you look at debug from a button click you get -

```auto
object
payload: 1645370401433
event: object
clientX: 882
clientY: 864
bbox: array[4]
socketid: "2ldTknYmnRL2Cv_IAAOd"
_msgid: "47971bd610c4dabb"

```

You can use this to lookup the ip ?

---

_[View the full topic](https://discourse.nodered.org/t/how-can-i-get-browser-ip-by-dashboard-button/58531)._
