How to get client IP address in a Firebase cloud function? : <p>When saving data to Firebase database with a Firebase cloud function, I'd like to also write the IP address where the request comes from.</p>

<p>However, <code>req.connection.remoteAddress</code> always returns <code>::ffff:0.0.0.0</code>. Is there a way to get the actual IP address of the client that makes the request?</p>
