From 22e65679959f6a128d265057abcd4c83d2310c47 Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Mon, 4 Apr 2016 16:01:03 +0300 Subject: [PATCH] Replacing typo with distro safe address apart from locahost typo, the issue is that localhost is not 100% safe for all distros with IPv6. For example fedora23 defines localhost4 and localhost6 (among other aliases) so `curl localhost:9200` doesn't work. For this reason, I think it's safer to replace localhost with 127.0.0.1 --- docs/reference/setup/install/check-running.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/setup/install/check-running.asciidoc b/docs/reference/setup/install/check-running.asciidoc index 443caeae095..41a7cf5bfb6 100644 --- a/docs/reference/setup/install/check-running.asciidoc +++ b/docs/reference/setup/install/check-running.asciidoc @@ -1,11 +1,11 @@ ==== Checking that Elasticsearch is running You can test that your Elasticsearch node is running by sending an HTTP -request to port `9200` on `localhost`: +request to port `9200` on `127.0.0.1`: [source,sh] -------------------------------------------- -curl locahost:9200 +curl 127.0.0.1:9200 -------------------------------------------- which should give you a response something like this: