ES and Kibana are working but I can't access it

Hi there.

I installed the latest versions of elasticsearch and kibana.

sudo systemctl status elasticsearcrh.service
and
sudo systemctl status kibana.service

When I run them both appear to be working.

I am able to make ssh connection to the server. But I can't ping. And i can't connection 9200 and 5601 ports.

let me know if i made a mistake.

elasticsearch.yml

cluster.name: es-crawl
node.name: node-1
path.data: /var/lib/elasticsearch 
path.logs: /var/log/elasticsearch 
bootstrap.memory_lock: true
network.host: xx.xxx.xxx.xxx
http.port: 9200
discovery.type: single-node
xpack.security.enabled: true

xpack.security.enrollment.enabled: true

xpack.security.http.ssl:
  enabled: true
  keystore.path: certs/http.p12

xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12 
http.host: 0.0.0.0

kibana.yml

server.port: 5601
server.host: "xx.xxx.xxx.xxx"
server.name: "es-crawl-kibana"
elasticsearch.hosts: ["https://xx.xxx.xxx.xxx:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "xxxxxxxx"
elasticsearch.ssl.certificateAuthorities: [ "/etc/kibana/certs/http_ca.crt" ]

logging:
  appenders:
    file:
      type: file
      fileName: /var/log/kibana/kibana.log
      layout:
        type: json
  root:
    appenders:
      - default
      - file

pid.file: /run/kibana/kibana.pid

check whether the version of ES and kibana is same or not?
whether security has been enabled?
if yes, check for certificates

Regards
Shrikant

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