By default, the HL7 Listener listens for messages on port 2575. to change the port for receiving the HL7 messages, use the -HL7PORT=# command line switch, where # is the port number. For example, to listen for HL7 messages using port 2576, apply the following switches:
-HL7LISTENER -HL7PORT=2576
This switch also allows a single HL7 Listener to listen for messages on multiple ports. When specifying multiple ports, separate each port number with a comma. For example, to listen for messages on ports 2575, 2576, and 2577, apply the following switches:
-HL7LISTENER -HL7PORT=2575, 2576, 2577
Messages received by a multi-port Listener will be processed in the order in which they are received.