# Http in node, caller IP address

**URL:** <https://discourse.nodered.org/t/http-in-node-caller-ip-address/32820>\
**Category:** General\
**Created:** [13 September 2020 14:13 UTC](https://discourse.nodered.org/t/http-in-node-caller-ip-address/32820 "2020-09-13T14:13:44Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 September 2020 08:09 UTC](https://discourse.nodered.org/t/http-in-node-caller-ip-address/32820/8 "2020-09-15T08:09:33Z")

</div>

I investigated this a bit and iterating the properties of `msg.req` using `for (const item in msg.req) {` does find `msg.req.ip`, however `msg.req.hasOwnProperty("ip")` returns false, which I assume means that `req` is derived from an object type that has this property. I guess that the debug output only shows OwnProperties of the object being shown.

---

_[View the full topic](https://discourse.nodered.org/t/http-in-node-caller-ip-address/32820)._
