Published June 2023
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