Changing or Increasing the Port Range for Runtime Instances

Unwired Orchestrator allows you to configure up to 10 runtime instances because the default range of ports assigned to the engine is 7011 - 7020. To change this range or to increase the number of runtime instances beyond 10, you must modify this the port numbers for runtime instances by editing the agent.properties file.

  1. Stop the agent if the agent is running.

  2. Open the agent.properties file.

  3. Locate the entries in the file that appear as follows:

### Maximum Command and Control TCP/IP connection port
#agent.commandControl.port.max = 7020

### Miminum Command and Control TCP/IP connection port
#agent.commandControl.port.min = 7011

  1. Determine the range of ports you want to assign to the engine. Consider the following:

  1. Edit the port numbers for the agent.commandControl.port.max and agent.commandControl.port.min values.

  2. Save the agent.properties file to its original location.

  3. Start the agent.

 

Note: If you change the the minimum and maximum port range in the agent.properties file for runtime instance connections, you must recreate the runtime instances and redeploy your business process to the instances. The agent establishes ports at runtime instance creation time only.

 

Creating a Runtime Instance