How to bind CA Workload Automation agent to only one IP?

Document ID : KB000022062
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

If a host has several NIC or Ethernet interfaces configured, then how do you configure the agent to listen to only one particular interface?

Answer: 

When a host or operating system has several network interfaces with IP's configured, the agent will by default bind itself to all the interfaces. The following command will provide information on interfaces that agent binds itself to:

       UNIX/Linux
           netstat -na | grep 7520
       Windows
           netstat -na |  FINDSTR 7520

Note: 7520 is the default port that agent uses, this can be changed to any other port. Substitute appropriate port in the above commands.

The output of the above commands will look something like the following:

tcp        0      0 :::7520      :::*         LISTEN

This example shows that the agent is binding itself to all available interfaces. To restrict the binding to only one interface, add the following parameter in the agentparm.txt of the agent and restart the agent.
communication.bindaddress=<IP address>

Run the above mentioned commands again, the output will be something similar to following line.

tcp        0      0 :7520        :::*         LISTEN