Using separate ports in EFM

You can make Edge Flow Manager (EFM) listen to separate ports for UI and C2 type of requests. To do so, you need to uncomment the #efm.server.c2Port= property in the efm.properties file, and set a valid port number as the value of the #efm.server.c2Port= property.

The EFM REST API can be divided into two logical parts. The first group comprises the REST endpoints which are used by the users to create flows, manage credentials, and so on through the UI, called UI endpoints. The second group comprises the REST endpoints which are used by the MiNiFi agent to communicate with EFM, called C2 endpoints. With the default configuration, EFM listens to port configured with the efm.server.port property for all kinds of requests.

There could be cases where distinction between the UI and C2 traffic needs to be made on the network level.

A property is introduced in the efm.properties file to enable separate UI and C2 communication.

#efm.server.c2Port=

By default it is commented out so EFM listens to the port set with the efm.server.port property.

If you want to make EFM listen to separate ports for UI and C2 type of requests, uncomment the efm.server.c2Port property and set a valid port number.