The APM Insight .NET Agent automatically assigns port numbers during monitor creation based on the application type, as shown below:
Application Type | |
IIS Web Applications | 80 |
Windows Service Applications | 0 |
| 1 |
For example, an IIS site running on port 8888 will still appear in APM tab with a port 80 in the instance name:

apmhost1:80 (App Name: Default Web Site)

Note: These ports are used for internal identification within Applications Manager and do not reflect the actual port used by the application. Currently, the .NET Agent does not support customizing or detecting actual application ports during monitor creation. The port number assigned (e.g., 80 for IIS apps) is hardcoded by design and cannot be changed or overridden in the agent configuration.
Workaround: Customizing the Display Name (v174500+)
From Applications Manager v174500 and above, customers can edit the display name of the APM Insight Application or Instance to reflect the actual port used by the application.