Pink background with text and Elasticsearch logo

How to Check if Elasticsearch is Running

Published June 2023

You can test if Elasticsearch is running using the curl tool. You can download curl here.

Input

				
					 curl localhost:9200/
				
			

You’ll notice we used port 9200.  That’s the default port for Elasticsearch.

We also use localhost.  You could alternatively use the local IP address of your machine, for example 192.168.1.1.

If you get a response similar to the following, then that means that your Elasticsearch cluster is running. 

Output

				
					{
  "name" : "pn0zUv9",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "GmzCPer3SP-AZ_Nd_zGQ4g",
  "version" : {
    "number" : "8.1.0",
    "build_hash" : "e123a8",
    "build_date" : "2023-06-12T17:10:04.160291Z",
    "build_snapshot" : false,
    "lucene_version" : "9.0.0"
  },
  "tagline" : "You Know, for Search"
}

				
			

If you don’t get the above response, then check back with the Elasticsearch documentation or reach out to our Elasticsearch experts.

Elastic Stack Consulting Services

If you are interested in 24/7 support, consulting, and/or fully managed Elasticsearch services on your environment, you can find more information on our Elasticsearch consulting page.

Schedule a call with an Elastic Stack engineer.

Published by

Dattell - Kafka & Elasticsearch Support

Benefit from the experience of our Kafka, Pulsar, Elasticsearch, and OpenSearch expert services to help your team deploy and maintain high-performance platforms that scale. We support Kafka, Elasticsearch, and OpenSearch both on-prem and in the cloud, whether on stand alone clusters or running within Kubernetes. We’ve saved our clients $100M+ over the past six years. Without our guidance companies tend to overspend on hardware or purchase unnecessary licenses. We typically save clients multiples more money than our fees cost in addition to building, optimizing, and supporting fault-tolerant, highly available architectures.