elasticsearch - Kibana public IP site cannot be reached -


cannot kibana's public ip work google compute engine. says site cannot reached, though elasticsearch works through public ip if change elasticsearch.yml localhost 0.0.0.0

turned off nginx test kibana.

running on: ubuntu 16.04, elasticsearch 5.6.0, kibana 5.6.0

firewall allowed port 5601 kibana firewall screenshot

the kibana.yml file has following:

server.port: 5601 server.host: "0.0.0.0" elasticsearch.url: "http://localhost:9200" elasticsearch.ssl.verificationmode: none 

running netstat -natp | grep 5601, get:

(not processes identified, non-owned process info  not shown, have root see all.) tcp        0      0 0.0.0.0:5601            0.0.0.0:*               listen      -   

and running sudo netstat -tupln returns:

active internet connections (only servers) proto recv-q send-q local address           foreign address         state       pid/program name     tcp        0      0 0.0.0.0:22              0.0.0.0:*               listen      1916/sshd            tcp        0      0 0.0.0.0:5601            0.0.0.0:*               listen      10615/node           tcp        0      0 0.0.0.0:5355            0.0.0.0:*               listen      1447/systemd-resolv  tcp6       0      0 127.0.0.1:9300          :::*                    listen      8490/java            tcp6       0      0 :::22                   :::*                    listen      1916/sshd            tcp6       0      0 :::5355                 :::*                    listen      1447/systemd-resolv  tcp6       0      0 127.0.0.1:9200          :::*                    listen      8490/java            udp        0      0 127.0.0.53:53           0.0.0.0:*                           1447/systemd-resolv  udp        0      0 0.0.0.0:68              0.0.0.0:*                           1156/dhclient        udp        0      0 10.128.0.100:123        0.0.0.0:*                           1702/ntpd            udp        0      0 127.0.0.1:123           0.0.0.0:*                           1702/ntpd            udp        0      0 0.0.0.0:123             0.0.0.0:*                           1702/ntpd            udp        0      0 0.0.0.0:5355            0.0.0.0:*                           1447/systemd-resolv  udp6       0      0 fe80::4001:aff:fe80:123 :::*                                1702/ntpd            udp6       0      0 ::1:123                 :::*                                1702/ntpd            udp6       0      0 :::123                  :::*                                1702/ntpd            udp6       0      0 :::5355                 :::*                                1447/systemd-resolv  

curl -i localhost:5601 returns:

http/1.1 200 ok kbn-name: kibana kbn-version: 5.6.0 cache-control: no-cache content-type: text/html; charset=utf-8 content-length: 217 accept-ranges: bytes date: mon, 11 sep 2017 23:27:38 gmt connection: keep-alive <script>var hashroute = '/app/kibana'; var defaultroute = '/app/kibana'; var hash = window.location.hash; if (hash.length) {   window.location = hashroute + hash; } else {   window.location = defaultroute; 

sudo systemctl status kibana indicates kibana service active , running

it seems port 5601 doesn't work on instances in google compute engine, ideas appreciated.

making new separate firewall rule port 5601 solved issue! input everyone


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -