Friday, 19 May 2017

get client ip address in request hapijs for node

I need to get the ip address of client using my application in the request of hapijs node... we are using pm2 and Nginx for server to run live and we have used the request.info.address but it gives the server local ip as 127.0.0.1 but what i need was the client's IP who uses my application eg: 192.x.x.111 ...



via sunilsmith

No comments:

Post a Comment