ServerRequest.clientIpAddress
Property Description |
The remote client IP address. |
Type |
string (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2015.2 |
Errors
Error Code |
Thrown If |
---|---|
|
You attempted to edit this property. This property is read-only. |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/http Module Script Samples.
// Add additional code
...
function onRequest(context){
var request = context.request;
var header = request.headers;
var remoteAddress = request.clientIpAddress;
}
...
// Add additional code