By default, Python Agent and Java proxy communicate with each other using Inter-Process Communication (IPC).
However, using Transmission Control Protocol (TCP) communication is beneficial in these scenarios:
When you want the Java proxy and Python Agent to run over different host operating systems.
In containers (such as Docker and Kubernetes), where mounting the same volume for all the containers is possible but not recommended.
To enable TCP communication, set tcp-comm-port to a valid port. The Python Agent and Java proxy can now communicate using TCP rather than IPC.
The Java proxy listens to the incoming connection requests from agents over the APPDYNAMICS_TCP_COMM_PORT. The communication occurs for every agent over these two unique ports:
Reporting port
Request port
These ports can be set by either the agent or the proxy.