Returns the IP address of the remote node from where the petition has been performed.

1 http.request.getRemoteAddr

<http.request.getRemoteAddr />

Exceptions

script is not in http request mode

It is called from command line because the request HTTP servlet does not exist.

Example

Obtain the IP address of the remote node.

Copy
<xsql-script name='http_connection_parametervalues'>
    <body>
        <println>
            <http.request.getRemoteAddr />
        </println>
    </body>
</xsql-script>