# Setting number\_of\_shards but couldn't resolve host

**URL:** <https://discuss.elastic.co/t/setting-number-of-shards-but-couldnt-resolve-host/99399>\
**Category:** Elasticsearch\
**Created:** [September 5, 2017, 10:23am UTC](https://discuss.elastic.co/t/setting-number-of-shards-but-couldnt-resolve-host/99399 "2017-09-05T10:23:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [September 5, 2017, 10:47am UTC](https://discuss.elastic.co/t/setting-number-of-shards-but-couldnt-resolve-host/99399/7 "2017-09-05T10:47:45Z")

</div>

Let us keep this discussion to your other thread: [How does the elasticsearch expand capacity and shrink capacity？](https://discuss.elastic.co/t/how-does-the-elasticsearch-expand-capacity-and-shrink-capacity/99396/10)

---

_[View the full topic](https://discuss.elastic.co/t/setting-number-of-shards-but-couldnt-resolve-host/99399)._
