# Setup multi nodes on elastic 8.4.3 to run only when 2 nodes are active

**URL:** <https://discuss.elastic.co/t/setup-multi-nodes-on-elastic-8-4-3-to-run-only-when-2-nodes-are-active/317407>\
**Category:** Elasticsearch\
**Created:** [October 25, 2022, 11:40am UTC](https://discuss.elastic.co/t/setup-multi-nodes-on-elastic-8-4-3-to-run-only-when-2-nodes-are-active/317407 "2022-10-25T11:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![juandreww](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juandreww/32/112500_2.png) [@juandreww](https://discuss.elastic.co/u/juandreww)\
**Post date:** [October 25, 2022, 11:40am UTC](https://discuss.elastic.co/t/setup-multi-nodes-on-elastic-8-4-3-to-run-only-when-2-nodes-are-active/317407/1 "2022-10-25T11:40:42Z")

</div>

Hi, I would like to configure the Elastic Search for multiple nodes **but only when 2 nodes running from 3 nodes, then the localhost can be accessed**

I have tried:

1. node.name: node-3 (in folder node2 then node-2, etc)
2. network.host: localhost
3. http.port: 9203 (in folder node2 then 9202, etc)
4. discovery.seed\_hosts: ["127.0.0.1"]

But when I run the 9201, it works. its not error. why?

---

<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 26, 2022, 1:14am UTC](https://discuss.elastic.co/t/setup-multi-nodes-on-elastic-8-4-3-to-run-only-when-2-nodes-are-active/317407/2 "2022-10-26T01:14:55Z")

</div>

Welcome to our community! 😃

Are you trying to do this all on a single host, or different hosts?

---

<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, 2022, 1:14am UTC](https://discuss.elastic.co/t/setup-multi-nodes-on-elastic-8-4-3-to-run-only-when-2-nodes-are-active/317407/3 "2022-11-23T01:14:57Z")

</div>

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