# How to configure HttpNode on elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726>\
**Category:** Elasticsearch\
**Created:** [October 24, 2018, 6:17am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726 "2018-10-24T06:17:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [October 24, 2018, 6:17am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/1 "2018-10-24T06:17:23Z")

</div>

HI,  
I want to create one httpnode on elasticsearch. How can i configure that in elasticsearch.yml Please anyone can help me on this.

---

<div class="post-metadata">

**Author:** ![Yashasvi\_Raj\_Pant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yashasvi_raj_pant/32/35022_2.png) [@Yashasvi\_Raj\_Pant](https://discuss.elastic.co/u/Yashasvi_Raj_Pant)\
**Post date:** [October 24, 2018, 6:51am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/2 "2018-10-24T06:51:23Z")

</div>

If you are refering to setting the ip of your node, you can set it in the key:  
**network.host**

Also, you can set the custom port in the key:  
**http.port**

---

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [October 24, 2018, 7:04am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/3 "2018-10-24T07:04:58Z")

</div>

Thanks for your reply,

in my configuration i have mentioned this both,  
network.bind\_host: 0.0.0.0  
network.publish\_host: 10.3.237.23

---

<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:** [October 24, 2018, 9:50am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/4 "2018-10-24T09:50:21Z")

</div>

Use only `network.host`.

---

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [October 24, 2018, 12:43pm UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/5 "2018-10-24T12:43:40Z")

</div>

Thanks for your reply

and please find my configuration below and correct if any wrong in that,

```
cluster.name: "txnlogging-E1"
node.name: datanode1-lp20036.phx.com
node.master: false
node.data: true
node.ingest: false
node.ml: false
xpack.ml.enabled: true
network.host: 0.0.0.0
#network.bind_host: 0.0.0.0
#network.publish_host: 10.3.237.3
transport.tcp.port: 9311
discovery.zen.ping.unicast.hosts: ["10.3.237.3:9300","10.3.237.3:9301"]
discovery.zen.minimum_master_nodes: 1

```

what about node setting whether i have to set anything on node like master or data or ingest

---

<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:** [October 24, 2018, 9:22pm UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/6 "2018-10-24T21:22:53Z")

</div>

What exactly are you trying to do? What problems are you having? What errors are you seeing?

You seem to be setting a lot of things without my clarity around what you are trying to solve.

---

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [October 25, 2018, 9:57am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/7 "2018-10-25T09:57:21Z")

</div>

i have 3 linux server, each contain 1 master and 10 data node all are in cluster and status of cluster is green.

I need to run one http node in each server how can i configure that .

---

<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:** [October 25, 2018, 9:59am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/8 "2018-10-25T09:59:16Z")

</div>

Why not run all nodes as http? If you are using Monitoring (which you should be, it's free), then it uses the APIs.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 25, 2018, 10:00am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/9 "2018-10-25T10:00:16Z")

</div>

How large are the servers given you are running so many data nodes?

> [@Ganesh2303](#):
>
> discovery.zen.minimum\_master\_nodes: 1

If you have 3 master nodes in the cluster, this should be set to 2.

---

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [October 25, 2018, 10:17am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/10 "2018-10-25T10:17:51Z")

</div>

Ya that modification has done .

Seriously i'm not aware of httpnode setting. i can do master and data node but i dont know how configure httpnode.

All the master and data node created by docker container

---

<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:** [October 25, 2018, 9:37pm UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/11 "2018-10-25T21:37:17Z")

</div>

Given http is enabled by default, it's still not clear what problem you are having.

---

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [October 26, 2018, 11:08am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/12 "2018-10-26T11:08:25Z")

</div>

First of all i want to know

what is http node.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 26, 2018, 11:44am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/13 "2018-10-26T11:44:47Z")

</div>

Http Node is not a term that we use - it's a term that you brought into the conversation, so perhaps it's going to be easiest if you explain what problem you're trying to solve and why you think "http node" is the solution to that

---

<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:** [November 23, 2018, 11:44am UTC](https://discuss.elastic.co/t/how-to-configure-httpnode-on-elasticsearch/153726/14 "2018-11-23T11:44:48Z")

</div>

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