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
This commit is contained in:
Dimitrios Liappis 2016-04-04 16:01:03 +03:00
parent 7d4ed5b19e
commit 22e6567995

View File

@ -1,11 +1,11 @@
==== Checking that Elasticsearch is running ==== Checking that Elasticsearch is running
You can test that your Elasticsearch node is running by sending an HTTP 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] [source,sh]
-------------------------------------------- --------------------------------------------
curl locahost:9200 curl 127.0.0.1:9200
-------------------------------------------- --------------------------------------------
which should give you a response something like this: which should give you a response something like this: