search cancel

How do I reserve ports on Windows?


Article ID: 25869


Updated On:


CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Server Automation CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager



In certain cases, ports needed by an application to function are dynamically allocated to other applications which cause the application not to function. Is there a way to reserve these ports such that they are not dynamically allocated?



Release: UASIT.99000-12.9-Asset Intelligence



CA Client Automation 12.0, 12.0 SP1, 12.5, 12.5 SP1, 12.8, 12.8 FP1, 12.9 



'netstat -b' lists the ports which are being used by applications.

To reserve a specific port, add the port number to the following registry key:


Ex: If port 4728 has to be reserved then add 4728-4728 to the registry key:

Refer the following URL for more information:

IMPORTANT:  This article contains information about modifying the registry.

Before you modify the registry, make sure to create a backup of the registry and ensure that you understand how to restore the registry if a problem may occur

For more information about how to backup, restore, edit the registry, please review the relevant Microsoft Knowledge Base articles on