how to get the ip address of the user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xyz abc
    New Member
    • Apr 2012
    • 1

    how to get the ip address of the user

    How we can get the ip address of the user who are accessing our url in java?
  • sreekandank
    New Member
    • Jun 2009
    • 45

    #2
    You can use getRemoteAddr() method of HttpServletRequ est interface to access the IP address of the client machine.

    Comment

    Working...