# How to set up for use in Fantastic ElasticSearch

**URL:** <https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280>\
**Category:** Elasticsearch\
**Created:** [February 23, 2017, 6:05pm UTC](https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280 "2017-02-23T18:05:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Benbow](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Paul\_Benbow](https://discuss.elastic.co/u/Paul_Benbow)\
**Post date:** [February 23, 2017, 6:05pm UTC](https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280/1 "2017-02-23T18:05:13Z")

</div>

I'm new to Elastic search and I'm struggling to get my Wordpress Fantastic ElasticSearch plugin to connect to the Elastic Server. I have added my https End Point when asked for Server URL but get error 'Couldn't connect to host, Elasticsearch down?'

There is another field to add Index Name and I've tried a number of options but this has not made a difference.

I would have thought I'd put a password in somewhere? What am I missing?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 23, 2017, 10:06pm UTC](https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280/2 "2017-02-23T22:06:57Z")

</div>

You probably won't get help with the plugin here unfortunately.

But are you sure ES is running, can you `curl IP:9200` and get a response?

---

<div class="post-metadata">

**Author:** ![Paul\_Benbow](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Paul\_Benbow](https://discuss.elastic.co/u/Paul_Benbow)\
**Post date:** [February 24, 2017, 1:15pm UTC](https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280/3 "2017-02-24T13:15:42Z")

</div>

Is it my HTTPS Endpoint I am meant to curl to check if ES is running? I did run this from a Git Bash and get

`{"error":{"root_cause":[{"type":"security_exception","reason":"action [cluster:monitor/main] requires authentication","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"action [cluster:monitor/main] requires authentication","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}`

Do I need to configure security? This suggests my plugin is getting the same response and is why it isn't working for me.

Thanks

---

<div class="post-metadata">

**Author:** ![Paul\_Benbow](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Paul\_Benbow](https://discuss.elastic.co/u/Paul_Benbow)\
**Post date:** [February 24, 2017, 1:49pm UTC](https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280/4 "2017-02-24T13:49:53Z")

</div>

I have found and edited Anonymous user and given full permissions and now no longer get the security error. Is there anything else I need to configure to give my anonymous WP plugin access to the ES as I still get errors?

```
$ curl https://MYCLUSTERID.eu-west-1.aws.found.io:9243/
{
  "name" : "instance-0000000000",
  "cluster_name" : "MYCLUSTERNAME",
  "cluster_uuid" : "MYCLUSTERNAMEUUID",
  "version" : {
    "number" : "5.2.0",
    "build_hash" : "24e05b9",
    "build_date" : "2017-01-24T19:52:35.800Z",
    "build_snapshot" : false,
    "lucene_version" : "6.4.0"
  },
  "tagline" : "You Know, for Search"
}
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 24, 2017, 1:50pm UTC](https://discuss.elastic.co/t/how-to-set-up-for-use-in-fantastic-elasticsearch/76280/5 "2017-03-24T13:50:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
