Random ports used by automic agents locally for CP connection
search cancel

Random ports used by automic agents locally for CP connection


Article ID: 239869


Updated On:


CA Automic Workload Automation - Automation Engine


I would like to understand, how does the agent process pick up port numbers locally to connect to Automation Engine CP. The target CP address/port can be defined in ini file. However, where do we define which ports to be used locally to connect to the CP servers. (below shows port 49751 and 49761 been used to connect to CP server on port 2217)

one of my internal application was unable to start as the automic agent was occupying the port.



Release : 12.3.7

Component :


The  49751 and 49761 are ephemeral ports that are assigned by the operating system.

These are dynamic ones for outbound communication.

You can refer to this MS article


The following example will list the ports in your machine

C:\WINDOWS\system32>netsh int ipv4 show dynamicport tcp

Protocol tcp Dynamic Port Range
Start Port      : 49152
Number of Ports : 16384

We cannot specify which ephemeral ports are used by the agent