How to access kibana from remote machines


(SandhyaRani) #1

Hi there!

I have elasticsearch,logstash, and kibana on my local machine.
I wanted to access kibana from remote machines. Its working fine on localhost. In kibana.yml file I tried few ways:

  1. server.host: "0.0.0.0" --- to access from remote machines.
  2. server.host: my ip address ( So on remote machine , when I give myipaddress:5601 unable to see kibana UI).

Is there any other ways to access:


(Mark Walkom) #2

Did you restart Kibana after making the change?


(SandhyaRani) #3

yes I did. But, still unable to access remotely.


(Mark Walkom) #4

Can you try to curl the host from another one on that port?


(SandhyaRani) #5

okay. I will try now.

Thanks :slight_smile:


(R) #6

Did you even try to see if the port 5601 is open? May be try telnetting to your kibana host on port 5601 that should give you the idea whether the port is open or not.

Even I guess try looking at kibana logs that will even given you idea whether kibana has started and bound to the address.


(SandhyaRani) #7

I tried to curl the host from another m/c . I got like this

So, when two machines are near by . I am able to access kibana on both machines.
But I am not able to access kibana when the remote machine is far away.

I am thinking two machinese (the remote m/c and the m/c in which kibana is running) are connected to same network so I am able to access.

To access remotely do I need to use web server like AWS to host my kibana?


(Mark Walkom) #8

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them :slight_smile:

Is it a firewall?


(SandhyaRani) #9

oh I see sorry.

Even I enabled "ufw" firewall, but not working though.


(R) #10

can you paste below output for me?

sudo ss -tln | grep 5601


(R) #11

It seems network issue as you said its working in one network while its not working in other


(SandhyaRani) #12

p1

This is the output I got.


(R) #13

So this is listening on all the ports and it should not be any issue at all. Is there any selinux running that might be not allowing port to connect?

Can you pls explain what is exact issue from IP address perspective?


(Shubhrant Chauhan) #14

did you configure web server ??

hope this tutorial will work for you ...


(system) #15

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