How to modify the APM Insight PHP agent's communication port?
The agent uses ports 20021 and 20022 by default. You can change these ports by modifying the appropriate directive in the zpa.ini file (Linux) or php.ini file (Windows), as well as in the apminsight.conf file (Linux and Windows).
Default configurations:
In the zpa.ini (Linux) or php.ini (Windows),
zpa.status_port=20021
zpa.data_port=20022
In the apminsight.conf file,
agent.status.port=20021
agent.data.port=20022

The values for zpa.status port and agent.status.port should be the same. Similarly, the values of zpa.data_port and agent.data.port should be the same.
Related Articles
How to identify and resolve conflicts between other APM products and the APM Insight .NET agent
Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...
Basic troubleshooting tips for the APM Insight Node.js agent
If you are experiencing issues after installing the APM Insight Node.js agent, follow these troubleshooting tips. Verify agent installation and connectivity To verify the agent installation status, you can execute the following command from the root ...
APM Insight integration for Next.js in Kubernetes
To integrate the Site24x7 APM Insight Next.js agent into your Kubernetes application using initContainers with the prebuilt agent image, follow the steps below: Prerequisites A Next.js application container image The Site24x7 APM Insight license key ...
APM Insight AutoProfiler – supported Operating Systems and Agents
The AutoProfiler feature automatically profiles application performance with minimal manual intervention. This article lists the supported operating systems and APM Insight agents compatible with AutoProfiler. Supported Operating Systems Linux ...
OpenTelemetry Licensing
The OpenTelemetry (OTel) Service license usage applies when traces are stored and indexed in AppLogs. The cost is tied to trace storage, rather than the number of OTel services or monitors created. Suppose you have purchased 100GB of log storage. If ...