Created
July 15, 2016 00:32
-
-
Save RameshRM/4f00d22bfb55845a34fd6b006a8b6a82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.use(function(req, res,next){ | |
var caller = req.connection.remoteAddress; //Will give you the request IP Address | |
next(); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment