Showing results for 
Show  only  | Search instead for 
Did you mean: 
AppDynamics Team

The Events Service port 9200 is disabled by default. This port is used for debugging purposes and will need to be turned on while troubleshooting.


Note: After the debugging session is done, remember to disable the property and restart the Events Service to avoid exposure  security vulnerabilities



Using the following commands to find the status of shards/indices:

curl http://localhost:9200/_cat/shards?v
curl http://localhost:9200/_cat/indices?v


 will result in the following output:

curl: (7) Failed to connect to localhost port 9200: Connection refused

How do I  enable port 9200? 

  1. Locate the file within the conf directory of your Events-Service home directory (<ES_HOME>/conf/

  2. Change the value of the property to true.

  3. Save, and restart the Events Service server.
    # To run this service in a fully, self contained mode, without 
    # the need for dedicated master nodes, this should be set to 'true'. 
    # If there are dedicated elasticsearch masters, then this flag 
    # should be set to 'false'.


  4. Begin your debugging session.

  5. Leaving the property enabled will expose  security vulnerabilities. So, once you complete the debugging session, be sure to disable the property and restart the Events Service.
Version history
Last update:
‎08-31-2020 06:09 PM
Updated by: