Kibana 5.6.9 is not starting if i give public IP address in configuration

Hi All,

I have installed kibana and elasticsearch 5.6.9 version in linux machine and my internal ip is 10.145.0.7 and my external ip is 30.123.14.56 and I configured the same in kibana.yml, but I am getting the below error and kibana is not able to start,

Kibana configuration changes

server.port: 5601
server.host: "30.123.14.56"
elasticsearch.url: "http://10.145.0.7:9200"

Error

log [07:00:20.477] [info][status][plugin:kibana@5.6.9] Status changed from uninitialized to green - Ready
log [07:00:20.544] [info][status][plugin:elasticsearch@5.6.9] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:00:20.588] [info][status][plugin:console@5.6.9] Status changed from uninitialized to green - Ready
log [07:00:20.633] [info][status][plugin:metrics@5.6.9] Status changed from uninitialized to green - Ready
log [07:00:20.850] [info][status][plugin:timelion@5.6.9] Status changed from uninitialized to green - Ready
error [07:00:20.857] [fatal] Error: listen EADDRNOTAVAIL 30.123.14.56:5601
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1264:19)
at listen (net.js:1313:10)
at net.js:1423:9
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
FATAL { Error: listen EADDRNOTAVAIL 30.123.14.56:5601
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1264:19)
at listen (net.js:1313:10)
at net.js:1423:9
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
cause:
{ Error: listen EADDRNOTAVAIL 30.123.14.56:5601
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1264:19)
at listen (net.js:1313:10)
at net.js:1423: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: '30.123.14.56',
port: 5601 },
isOperational: true,
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen',
address: '30.123.14.56',
port: 5601 }

Note:- If i tried to change the server.host to internal ip then kibana is starting successfully but i am not able to access it outside. Since the server is hosted in google cloud platform i have to use external ip only for accessing outside but giving the external ip in server.host is not working now..

Please help me to resolve this issue.

Thanks,
Ganeshbabu R

Hi @r.ganeshbabu,

It sounds like you might need a reverse proxy setup to handle outbound requests to your internal network running Kibana and ES. See this blog post for some tips and tricks.

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