# Open specified port to join cluster

**URL:** https://discuss.elastic.co/t/open-specified-port-to-join-cluster/119009
**Category:** Elasticsearch
**Created:** [February 8, 2018, 9:37am UTC](https://discuss.elastic.co/t/open-specified-port-to-join-cluster/119009 "2018-02-08T09:37:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)
#### Post date: [February 8, 2018, 9:37am UTC](https://discuss.elastic.co/t/open-specified-port-to-join-cluster/119009/1 "2018-02-08T09:37:12Z")

</div>

Hi everyone, my OS is centos7. Every time I have to close the firewall then I could join the node to the cluster, otherwise it would show the error:

```
[ES2] failed to send join request to master [{JWCDX3D}{JWCDX3DATsCmXjkrOjASNg}{bp2B0nx5Qy-TT8Hxj5F2kQ}{192.168.0.139}{192.168.0.139:9300}{rack=ES3}], reason [RemoteTransportException[[JWCDX3D][192.168.0.139:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[ES2][192.168.0.243:9300] connect_timeout[30s]]; nested: IOException[No route to host: 192.168.0.243/192.168.0.243:9300]; nested: IOException[No route to host]; ]

```

but, could I just open some port to make the node can join the cluster?  
I have tried to open 9200 and 9300 port, but it still can't work.

thank you in advance !

---

<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 8, 2018, 9:37am UTC](https://discuss.elastic.co/t/open-specified-port-to-join-cluster/119009/2 "2018-03-08T09:37:25Z")

</div>

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