[Couldnt able to access Kibana from browser] hosting ELK on a remote Linux Machine

I have installed ELK on a remote Linux machine but couldn't able to access the kibana from the browser.
I know by default kibana is accessible on localhost.
Changes I did on kibana.yml

uncommenting and updating these lines:

server.port: 5601
server.host: "server IP address"
elasticsearch.hosts: ["http://server IP address:9200"]
logging.dest: /var/log/kibana/kibana.log

Started the service after the changes
sudo -i service kibana start

in the browser, I typed URL: HTTP://server ip address:5601
still, it's unreachable
This site can’t be reached

I tried debugging it by going through a few posts:
commands:

sudo ss -tln | grep 5601
it gave me no output

sudo lsof -i -P -n | grep LISTEN
5601 was not listed

Please help where I am doing wrong.

hi @manish1 welcome to Elastic community!

By your comments, it looks like kibana is not running. What do you have in your logs?

I belive its running based on the output of this command
sudo -i service kibana status

● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; disabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-05-08 17:30:15 IST; 2s ago
 Main PID: 122883 (node)
    Tasks: 7 (limit: 4675)
   CGroup: /system.slice/kibana.service
           └─122883 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

May 08 17:30:15 tripnomics systemd[1]: Started Kibana.

Even the log is also not getting printed into the given location.
I think none of the changes done in the kibana.yml are reflecting back.

according to the docs with systemd your logs should appear with this command

journalctl -u kibana.service

can you try that one? I've installed a 7.6.2 from packages on a Debian server and I could see the logs exactly with that command.

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