getRemoteAddr

Returns the IP address of the client or the last proxy to have sent a request.


            getRemoteAddr ()
         

Parameters

None.

Return value

A string containing the IP address of the client who sent the query.

Features

Method of class: HttpServletRequest

Available in:

  • JSSP
  • WebApp