How to Check if Elasticsearch is Running
How to Check if Elasticsearch is Running
How to Check if Elasticsearch is Running
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.
24x7 Elasticsearch Support & Consulting
24x7 Elasticsearch Support & Consulting
24x7 Elasticsearch Support & Consulting
Visit our Elasticsearch page for more details on our support services.