# Connection refused on put mapping

**URL:** <https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790>\
**Category:** Elasticsearch\
**Created:** [March 23, 2022, 8:07am UTC](https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790 "2022-03-23T08:07:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnab\_Dey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arnab_dey/32/98606_2.png) [@Arnab\_Dey](https://discuss.elastic.co/u/Arnab_Dey)\
**Post date:** [March 23, 2022, 8:07am UTC](https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790/1 "2022-03-23T08:07:41Z")

</div>

Can anyone help me with the /put request for mapping in Elasticsearch the elk is deployed in a server but the put request always gives a connection refused exception  
the Url is http://#.##.##.##:9200/intscript

And pls suggest if i have to add queryParams or any type of authentication in the url or assessing it from outside the server

---

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [March 23, 2022, 8:20am UTC](https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790/2 "2022-03-23T08:20:47Z")

</div>

Please check if any authetication got changed or some settings got changed in yml file.

If some other error is coming, check in logs file

---

<div class="post-metadata">

**Author:** ![Arnab\_Dey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arnab_dey/32/98606_2.png) [@Arnab\_Dey](https://discuss.elastic.co/u/Arnab_Dey)\
**Post date:** [March 23, 2022, 11:10am UTC](https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790/3 "2022-03-23T11:10:35Z")

</div>

can you just send me the url because some of the suggestion in chrome shows that we need to add healthy and some query parameters in the url

---

<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:** [March 28, 2022, 12:00am UTC](https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790/4 "2022-03-28T00:00:07Z")

</div>

Welcome to our community @Arnab_Dey ! 😃  
In future please put your questions into their own topic, and not an existing one.

---

<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:** [April 25, 2022, 12:00am UTC](https://discuss.elastic.co/t/connection-refused-on-put-mapping/300790/5 "2022-04-25T00:00:18Z")

</div>

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