# Failure to elect master, v7.17

**URL:** <https://discuss.elastic.co/t/failure-to-elect-master-v7-17/340149>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [August 4, 2023, 4:06pm UTC](https://discuss.elastic.co/t/failure-to-elect-master-v7-17/340149 "2023-08-04T16:06:40Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [August 5, 2023, 10:24am UTC](https://discuss.elastic.co/t/failure-to-elect-master-v7-17/340149/12 "2023-08-05T10:24:50Z")

</div>

> [@bobus](#):
>
> `handshake failed because connection reset`

This is the issue: you can connect to this node at `172.16.0.149:9307` but when it tries its publish address of `172.16.0.149:9300` it gets a `Connection reset` error. See [these docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#modules-network-binding-publishing) for more information, particularly:

> [... each node must be] accessible at its transport publish address by all other nodes in its cluster ...

---

_[View the full topic](https://discuss.elastic.co/t/failure-to-elect-master-v7-17/340149)._
