Node, Expressjs - Cannot get user Private IPv4 address after hosting in aws lambda

Viewed 11

I have created a node app where I get user private IP address using expressjs command

req.ip - 192.168.x.xxx

Everything is working fine in local. But after hosting my node app in aws lambda I couldn't get the ip address. It comes as null. I'm completely new to aws. Please provide some solutions.

0 Answers
Related