# Http port on different types of nodes

**URL:** <https://discuss.elastic.co/t/http-port-on-different-types-of-nodes/55763>\
**Category:** Elasticsearch\
**Created:** [July 18, 2016, 1:02pm UTC](https://discuss.elastic.co/t/http-port-on-different-types-of-nodes/55763 "2016-07-18T13:02:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![astro](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@astro](https://discuss.elastic.co/u/astro)\
**Post date:** [July 18, 2016, 1:02pm UTC](https://discuss.elastic.co/t/http-port-on-different-types-of-nodes/55763/1 "2016-07-18T13:02:06Z")

</div>

Hi All ,

Will http port be required for different nodes other than client nodes ?

Is it necessary to open http port for master and data nodes ?

Also

If I have a physical machine with 128 gb RAM , 32 core processor , 2 TB SSD ( different drives ) , can we start 2 data nodes on same machine in docker container ?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 18, 2016, 3:52pm UTC](https://discuss.elastic.co/t/http-port-on-different-types-of-nodes/55763/2 "2016-07-18T15:52:31Z")

</div>

> Is it necessary to open http port for master and data nodes ?

The HTTP port only needs to be opened for those nodes to which you want to connect via HTTP. Elasticsearch itself uses its own protocol in port 9300 (usually) for intra-node traffic.

> If I have a physical machine with 128 gb RAM , 32 core processor , 2 TB SSD ( different drives ) , can we start 2 data nodes on same machine in docker container ?

Sure.

---

<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:** [July 18, 2016, 9:36pm UTC](https://discuss.elastic.co/t/http-port-on-different-types-of-nodes/55763/3 "2016-07-18T21:36:33Z")

</div>

> [@magnusbaeck](#):
>
> The HTTP port only needs to be opened for those nodes to which you want to connect via HTTP.

Note - Marvel (Monitoring) requires HTTP access to nodes to gather stats.

---

<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:** [July 5, 2017, 10:34pm UTC](https://discuss.elastic.co/t/http-port-on-different-types-of-nodes/55763/4 "2017-07-05T22:34:36Z")

</div>


