Environment
Situation
How do I change the AMPP UI Port that was set during installation?
Resolution
NOTE: The preferred method for making this change is to un-install and re-install AppManager Performance Profiler (AMPP), so that the desired port can be set during the installation. The following steps are provided As-Is and have only been attempted on AMPP 4.1.2 (SP2 with HF1), if you experience any problems using the steps provided below, you may have to either revert your changes or re-install AMPP to correct that problem. If possible, it is recommended that you test this process in a Lab or other non-production Test Environment, prior to attempting these steps on a Production installation of AMPP.
NOTE: You should verify that the port that you wish to use is not already in use by some other application, prior to attempting the following changes.
In order to manually change the Port being used by the AMPP UI, you will need to compelte the following steps:
- Stop the following services on the AppManager Performance Profiler Server:
NetIQ AppManager Performance Profiler Analytics Service
NetIQ AppManager Performance Profiler Tomcat Service - On the AMPP Server, navigate to the following directory:
<install path>\NetIQ\AppManager\Performance Profiler\tomcat\conf - Locate the Servers.xml file, Right-click and Edit that file.
- Once you are in the file, find the following section of the XML Code, and replace all three references to '8080' with whatever port you would prefer to use:
A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
- <!--
A "Connector" using the shared thread pool
-->
- <!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" /> - Once the port value has been changed for all three port number references in the XML file, save your changes and close the file.
- Re-start the two AMPP services that you stopped in Step 1.
You should now be able to access the AMPP UI via the new Port ID. Note that the URL that you normally use to access the AMPP UI must be updated to match the new Port ID.