# Cant reach elasticsearch

**URL:** https://discuss.elastic.co/t/cant-reach-elasticsearch/144288
**Category:** Elasticsearch
**Created:** [August 14, 2018, 7:15am UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288 "2018-08-14T07:15:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Raghuveer\_SJ](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Raghuveer\_SJ](https://discuss.elastic.co/u/Raghuveer_SJ)
#### Post date: [August 14, 2018, 7:15am UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/1 "2018-08-14T07:15:21Z")

</div>

I have 2 questions :

I have installed ELK on a different machine and am able to reach kibana but not elasticsearch. When I ping I see http://:9200/ "mmm...can’t reach this page" as if the address is incorrect.

When logstash started I see its started with `/bin/java -Xms1g -Xmx1g` where can I change those params ?

Kindly suggest.

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [August 14, 2018, 8:25am UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/2 "2018-08-14T08:25:34Z")

</div>

network not use localhost 9200

---

<div class="post-metadata">

### Author: ![Raghuveer\_SJ](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Raghuveer\_SJ](https://discuss.elastic.co/u/Raghuveer_SJ)
#### Post date: [August 14, 2018, 8:29am UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/3 "2018-08-14T08:29:16Z")

</div>

Cant understand.

---

<div class="post-metadata">

### Author: ![Silen\_logs](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Silen\_logs](https://discuss.elastic.co/u/Silen_logs)
#### Post date: [August 14, 2018, 2:39pm UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/4 "2018-08-14T14:39:06Z")

</div>

Did you config a valid network IP in elasticsearch.yml ?

---

<div class="post-metadata">

### Author: ![Raghuveer\_SJ](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@Raghuveer\_SJ](https://discuss.elastic.co/u/Raghuveer_SJ)
#### Post date: [August 16, 2018, 3:49am UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/5 "2018-08-16T03:49:33Z")

</div>

It read like `node.name: ${HOSTNAME}` in that config file.

---

<div class="post-metadata">

### Author: ![Silen\_logs](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@Silen\_logs](https://discuss.elastic.co/u/Silen_logs)
#### Post date: [August 16, 2018, 6:17pm UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/6 "2018-08-16T18:17:57Z")

</div>

If you access _ **"http://\<your\_external\_server\_ip\>:9200"** _ in the browser gives some error ?

> [@Raghuveer\_SJ](#):
>
> When logstash started I see its started with `/bin/java -Xms1g -Xmx1g` where can I change those params ?

You can change the jvm size on **_jvm.options_** file in the elasticsearch configuration directory.

---

<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: [September 13, 2018, 6:21pm UTC](https://discuss.elastic.co/t/cant-reach-elasticsearch/144288/7 "2018-09-13T18:21:39Z")

</div>

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