Debian 9: ./bin/kibana running, but connection to port 5601 refused

Hi !

I'm here for first time.

I installed on a debian 9 elastic search and then I installed kibana.

I am testing that is working, using

./bin/kibana

Is it supposed to run using sudo ?

In both normal and sudo mode, I obtain

[info][listening] Server running at http://localhost:5601
[info][status][plugin:spaces@6.6.1] Status changed from yellow to green - Ready

I can see the process run

netstat -natp | grep 5601
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:5601          0.0.0.0:*               LISTEN      2880/./bin/../node/ 

But

curl http://localhost:5601 -v
* Rebuilt URL to: http://localhost:5601/
*   Trying ::1...
* TCP_NODELAY set
* connect to ::1 port 5601 failed: Connection refused

What am I doing wrong ?

Did you download and install the tar.gz versions of Elasticsearch and Kibana (not the .deb packages)?

Could you try curl http://localhost:5601/api/status and let us know what you get?
The output should contain ,"state":"green","icon":"success","message":"Ready",

Did you try opening Kibana in a browser?
If this is a headless Debian system, you would probably have to set Kibana to listen on other IP addresses instead of only localhost with something in the kibana.yml file like this;

server.host: 0.0.0.0

Thanks,
Lee

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