cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Saradhi.Potharaju
AppDynamics Team (Retired)

 

Disable HTTP listener

Users who do not wish to delete http-listener-1 because they may want to use it later can disable the HTTP listener.

 

Note: Starting Controller v4.4+, the changes need to be done using the Enterprise Console.

Editing Controller Port Configurations

 

Option 1:

  1. Shut down the Controller App Server using the following command:
    •  <controller_home>/bin/controller.sh stop-appserver
  2. Take a backup of the <controller_home>/appserver/glassfish/domains/domain1/config/domain.xml file.
  3. Edit the domain.xml file and add address="127.0.0.1" so that the access to non-secure port is restricted to the controller server only.
    • Change from:
    • <network-listener port="8090" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>
    • To:
    • <network-listener port="8090" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>

 

Option 2: 

  1. Another option is to disable the listener by setting enabled="false".
    • Change from:
    • <network-listener port="8090" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>
    • To:
    • <network-listener port="8090" enabled="false" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>\
  2. Start the App Server:
    • <controller_home>/bin/controller.sh start-appserver

Note: The port number 8090 is used for representation purposes. Actual port for http-listener-1 might differ if a different port is selected during installation.

 

 

Relevant Links:

Comments

Hello, is this article still relevant for 4.5 Controller Installations using Enterprise Console? I see Enterprise Console has a set of configuration settings available in the UI. Can the same be done through the EC UI? 

 

What if we implement the above changes on the domain.xml? Does the EC UI overwrite those changes if any change was made later on through the UI?

Saradhi.Potharaju
AppDynamics Team (Retired)

Hi,

 

You can modify connection settings through the Enterprise Console UI. The Enterprise Console will automatically update all occurrences in the controller for you. You do not need to manually update all the files and manage the sequence to restart services.

 

You can also edit the ports manually by editing configuration files used by the application server for the Controller domain. Updating the ports manually, however, will cause the Enterprise Console to have no visibility into the updates and cause health check errors.

 

https://docs.appdynamics.com/display/PRO45/Port+Settings#PortSettings-EditingControllerPortConfigura...

 

Regards,

Saradhi

 

Version history
Last update:
‎01-02-2019 01:51 PM
Updated by:
Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here