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

Random ports used by automic agents locally for CP connection

book

Article ID: 239869

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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.

 

Environment

Release : 12.3.7

Component :

Resolution

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

https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/default-dynamic-port-range-tcpip-chang

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

Attachments