Skip to content

source.getRemoteIPAddress

Signature: source.getRemoteIPAddress()

Returns: String remoteIpAddress - the IP address of the remote system

Get the remote IP address of the system that sent this message.

Note

This only applies to sources that persist a remote IP address, such as socket and DICOM receiver sources.

Note

This method only applies to the following formatted messages: HL7, ASTM, Binary, CSV, DICOM, EDIFACT, Old Fxd Width, Fxd Length, ISO 8583, JSON, Text, X12, XML.

Parameters

None

Example

// In a socket or DICOM receiver channel, retrieve the remote system's IP address.
var remoteIpAddress = source.getRemoteIPAddress(); // expected: e.g. "192.168.1.25"