# Query about changing localhost to server name on the server

**URL:** https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536
**Category:** Elasticsearch
**Created:** [June 22, 2017, 8:19pm UTC](https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536 "2017-06-22T20:19:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rrawat](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rrawat](https://discuss.elastic.co/u/rrawat)
#### Post date: [June 22, 2017, 8:19pm UTC](https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536/1 "2017-06-22T20:19:06Z")

</div>

Hi,

I just Installed Elastic Search and Kibana on RHEL 7 server. How can I change localhost to "servername". We don't have Browser installed on the server so want to access Elastic from outside but within Co network.

---

<div class="post-metadata">

### Author: ![rrawat](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rrawat](https://discuss.elastic.co/u/rrawat)
#### Post date: [June 26, 2017, 8:41pm UTC](https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536/2 "2017-06-26T20:41:05Z")

</div>

Any suggestion on this please?

---

<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: [June 26, 2017, 11:35pm UTC](https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536/3 "2017-06-26T23:35:37Z")

</div>

You mean you want to change what hostname/IP ES listens to? See [https://www.elastic.co/guide/en/elasticsearch/reference/5.4/important-settings.html#network.host](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/important-settings.html#network.host)

---

<div class="post-metadata">

### Author: ![rrawat](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rrawat](https://discuss.elastic.co/u/rrawat)
#### Post date: [June 28, 2017, 1:45pm UTC](https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536/4 "2017-06-28T13:45:17Z")

</div>

Hi Mark,

Thanks for your help. I appreciate that! I was able to use actual host name. I had to fix the warnings during bootstrap check.

---

<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: [July 26, 2017, 1:45pm UTC](https://discuss.elastic.co/t/query-about-changing-localhost-to-server-name-on-the-server/90536/5 "2017-07-26T13:45:20Z")

</div>

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