mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 05:15:04 +00:00
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:
parent
7d4ed5b19e
commit
22e6567995
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user