Hi all.
I downloaded Kibana and Elasticsearch for Docker and fire them up. Now I can access Elastic (with http or curl) but not Kibana.
It says Connection Refused but on both host and guest I can see the 5601 port running and in listening mode.
I tried different configurations but still getting the same error.
Here is the docker-compose file
version: '2'
services:
kibana:
image: docker.elastic.co/kibana/kibana:5.2.2
container_name: kibana
hostname: kibana
ports:
- 5601:5601
links:
- elasticsearch
volumes:
- ./kibana.yml:/usr/share/kibana/config/kibana.yml
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.2.2
container_name: elasticsearch
hostname: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 1g
cap_add:
- IPC_LOCK
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- esnet
volumes:
esdata1:
driver: local
I get
ERR_CONNECTION_REFUSED when I try to connect on http://172.20.0.3:5601/
Any clue?