How to change the port used by the CAPC website

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

The default port the out of the box CAPC installation runs on for its web UI access is 8181. There may be times when it is necessary to utilize a different port. While configuring SSL it forces a port change to one that is more secure. If a non-SSL port change is necessary it can be completed with the following steps.

This example changes the port used to 80. Substitute the port to be used as needed.

NOTE: All commands and file edits are to be performed as the root or sudo root install owner user (the same user used to install CAPC).


Step 1: Update the wrapper.conf file

The wrapper.conf file is found in the directory:


The default path out of the box would be:


Find this section of the file:


# Wrapper Windows NT/2000/XP Service Properties


Find this entry in that section:

And change its value to the new port to be used:


Step 2: Update CAPC using the SsoConfig tool

The tool is found in the directory:


The default path out of the box would be:


Run the following command to launch the tool:


In the first question select option 1:

SSO Configuration:

1. CA Performance Center

Choose an option > 1

In the next choice presented select option 3:

SSO Configuration/CA Performance Center:

1. LDAP Authentication

2. SAML2 Authentication

3. Performance Center

4. Single Sign-On

5. Test LDAP

6. Export SAML2 Service Provider Metadata

Choose an option > 3

That will present a list of the current settings in place. We need to change the "Web Site Port" value.

NOTE: Do not change the "Web Service Port" as that is used to communicate with integrated Data Sources, among other things.

Next choose to set the Local Override or Remote Value. The definitions for these choices are:

1. Remote Value: Refers to settings that only administrators can change. Such settings are propagated to all other CA products registered to this instance of CA Performance Center. Remote Value settings are only used if a corresponding Local Override value is not present.

2. Local Override: Refers to settings that can be changed for all products. If a Local Override value is present, it takes precedence over both the Remote Value and default settings.

Generally it is recommended to use option 1. Once the choice is selected edit the "Web Site Port" property value.

Enter "u" to update the value and change it, and when prompted enter the new port value.

Enter "\b" to go back and confirm the new value is set in the properties list displayed.

Once the change is confirmed, enter "\q" to quit.


Step 3: Update the CAPerformanceCenter.xml file

The file is found in the directory:


The default path out of the box would be:


Within the file we see two lines referencing the current port in use. They both appear in the same format as follows:


Change both to be:



Step 4: Restart the CAPC services

Use these commands to:

Check service status: service <service_name> status

Start service: service <service_name> start

Stop service: service <service_name> stop

To restart them, run:

service <name> stop

service <name> start

Not required, but recommended that they be started in this order:





And they should be stopped in this order:





The individual stop commands for example would be:

service caperfcenter_sso stop

service caperfcenter_devicemanager stop

service caperfcenter_eventmanager stop

service caperfcenter_console stop


Once these steps are completed users should now be able to log in to CAPC using port 80 instead of port 8181.