Http in node, caller IP address

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.

1 Like