# Did I configure app-search.yml right?

**URL:** <https://discuss.elastic.co/t/did-i-configure-app-search-yml-right/206138>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [November 1, 2019, 9:56am UTC](https://discuss.elastic.co/t/did-i-configure-app-search-yml-right/206138 "2019-11-01T09:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![The-Big-K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/the-big-k/32/56199_2.png) [@The-Big-K](https://discuss.elastic.co/u/The-Big-K)\
**Post date:** [November 1, 2019, 9:56am UTC](https://discuss.elastic.co/t/did-i-configure-app-search-yml-right/206138/1 "2019-11-01T09:56:21Z")

</div>

I've successfully installed app-search (self-managed) on Ubuntu 18.04. I'm however not sure if I've configured it right. Here are the entries I've modified in my `app-search.yml` file: -

```
allow_es_settings_modification: true
app_search.external_url: http://<MY-SERVER-IP>:3002
app_search.listen_host: <MY-SERVER-IP>

```

I can now access app-search from the `http://<MY-SERVER-IP>:3002 and it seems to be working as expected. I'm however wondering if above settings are correct. Should the `app\_search.listen\_host` be set to 127.0.0.1 OR my server IP?

Is there any other setting I should pay attention to when going live with production server? Thank you in advance.

Addendum: Upon restarting the app-search server; I'm unable to load pages. App Search throws -

```
Completed 401 Unauthorized in 68ms

```

I'm running with default settings and have not set any credentials to access app-search. What exactly is going wrong?

---

<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:** [November 29, 2019, 9:56am UTC](https://discuss.elastic.co/t/did-i-configure-app-search-yml-right/206138/2 "2019-11-29T09:56:21Z")

</div>

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