curl: (7) Failed to connect to localhost port 9200: Connection refused
How do I enable port 9200?
Locate the events-service-api-store.properties file within the conf directory of your Events-Service home directory (<ES_HOME>/conf/events-service-api-store.properties).
Change the value of the property ad.es.node.http.enabled to true.
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'.
Begin your debugging session.
Leaving the property enabled will expose security vulnerabilities. So, once you complete the debugging session, be sure to disable the ad.es.node.http.enabledproperty and restart the Events Service.