# Kibana is not working for public IP - throws FATAL { Error: listen EADDRNOTAVAIL

**URL:** <https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945>\
**Category:** Kibana\
**Created:** [September 9, 2017, 6:23pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945 "2017-09-09T18:23:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)\
**Post date:** [September 9, 2017, 6:23pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/1 "2017-09-09T18:23:39Z")

</div>

Hi People,  
I am trying to start my kibana on public ip ( say, some\_public\_ip) but unable to do so , getting following error. Kindly Help !!

log [18:15:33.233] [info][status][plugin:timelion@5.5.2] Status changed from uninitialized to green - Ready  
log [18:15:33.253] [fatal] Error: listen EADDRNOTAVAIL some\_public\_ip:5601  
at Object.exports.\_errnoException (util.js:1018:11)  
at exports.\_exceptionWithHostPort (util.js:1041:20)  
at Server.\_listen2 (net.js:1245:19)  
at listen (net.js:1294:10)  
at net.js:1404:9  
at \_combinedTickCallback (internal/process/next\_tick.js:83:11)  
at process.\_tickCallback (internal/process/next\_tick.js:104:9)  
FATAL { Error: listen EADDRNOTAVAIL some\_public\_ip:5601  
at Object.exports.\_errnoException (util.js:1018:11)  
at exports.\_exceptionWithHostPort (util.js:1041:20)  
at Server.\_listen2 (net.js:1245:19)  
at listen (net.js:1294:10)  
at net.js:1404:9  
at \_combinedTickCallback (internal/process/next\_tick.js:83:11)  
at process.\_tickCallback (internal/process/next\_tick.js:104:9)  
cause:  
{ Error: listen EADDRNOTAVAIL some\_public\_ip:5601  
at Object.exports.\_errnoException (util.js:1018:11)  
at exports.\_exceptionWithHostPort (util.js:1041:20)  
at Server.\_listen2 (net.js:1245:19)  
at listen (net.js:1294:10)  
at net.js:1404:9  
at \_combinedTickCallback (internal/process/next\_tick.js:83:11)  
at process.\_tickCallback (internal/process/next\_tick.js:104:9)  
code: 'EADDRNOTAVAIL',  
errno: 'EADDRNOTAVAIL',  
syscall: 'listen',  
address: 'some\_public\_ip',  
port: 5601 },  
isOperational: true,  
code: 'EADDRNOTAVAIL',  
errno: 'EADDRNOTAVAIL',  
syscall: 'listen',  
address: 'some\_public\_ip',  
port: 5601 }

---

<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:** [September 9, 2017, 9:29pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/2 "2017-09-09T21:29:44Z")

</div>

Is that address assigned to the host Kibana is running on?

---

<div class="post-metadata">

**Author:** ![Rohithnama](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@Rohithnama](https://discuss.elastic.co/u/Rohithnama)\
**Post date:** [September 9, 2017, 11:48pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/3 "2017-09-09T23:48:42Z")

</div>

I think you should enable the network host address in kibana.yml and for elasticsearch as well, if necessary.

Use your own IP or configure it to 0.0.0.0 (I had to do this when I'm running on AWS and to use the DNS IP) and it should work.

Note: maintain a space between networkhost: and the IP address as it will be viewed as a Key-Value pair.

---

<div class="post-metadata">

**Author:** ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)\
**Post date:** [September 10, 2017, 7:21am UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/4 "2017-09-10T07:21:12Z")

</div>

Yes @warkolm , the specified public IP has been assigned to the same host where am trying to run a kibana.

@Rohithnama : actually am hosting kibana on my private cloud and server.host : "some\_private\_ip" has been already set in kibana.yml.

---

<div class="post-metadata">

**Author:** ![Rohithnama](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@Rohithnama](https://discuss.elastic.co/u/Rohithnama)\
**Post date:** [September 11, 2017, 9:18pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/5 "2017-09-11T21:18:32Z")

</div>

As far as what I see, it definitely has to do something with the IP address that you are assigning. But I'm unable to figure out what the cause.

Let me know if you are able to sort out and if not, I hope other members will be able to help you!

---

<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:** [September 11, 2017, 9:26pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/6 "2017-09-11T21:26:05Z")

</div>

> [@Ritesh\_Sharma](#):
>
> server.host : "some\_private\_ip" has been already set in kibana.yml.

You need to set that to the public IP, or 0.0.0.0 as advised.

---

<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:** [October 9, 2017, 9:26pm UTC](https://discuss.elastic.co/t/kibana-is-not-working-for-public-ip-throws-fatal-error-listen-eaddrnotavail/99945/7 "2017-10-09T21:26:05Z")

</div>

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