cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Vijay.Venkatarajulu
AppDynamics Team

To change the Controller from default port 8090 to an open HTTP port, make the following changes to file <controller>\appserver\glassfish\domains\domain1\config\domain.xml.

 

1. Search for the following:

 

<network-listener port="8090" protocol="http-listener-1" enabled="true" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>

 

2. Edit the file:

 

<network-listener port="<new-port>" protocol="http-listener-1" enabled="false" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>

 

3. Add the new port details in place of <new-port>.

 

4. Restart the Controller app server:

 

To achieve this run the following commands:

If Windows:
<Controller_Home>/bin/controller.bat stop-appserver
<Controller_Home>/bin/controller.bat start-appserver

If Linux:
<Controller_Home>/bin/controller.sh stop-appserver
<Controller_Home>/bin/controller.sh start-appserver

 

5. After restarting the app server, access the Controller using the new port in the URL.

 

Example: http://hostname:port/controller

Version history
Last update:
‎09-14-2018 10:32 AM
Updated by: