we are implementing a basic auditing functionality into our application.
Is it possible to somehow catch a user's local IP address - IP address taken from user browser ?
A below command returns IP address of server, where is a database running.
Kind regards, Tomas
asked 06 Sep '12, 06:24
answered 12 Sep '12, 02:06
I agree with you vilsidis ! I have used the following code snippet to access users local ip address :
Here, connection is a property for request object . connection property comes under net.stream object. It contains remoteAddress property which is used to get the ip of the user .
I have used the site Ip-details.com to view my public ip address .
answered 22 Jun '13, 02:13