I am trying to get the ELK stack deployed on my EC2 instance belonging to an ElasticBeanstalk environment, a Django app. I was able to set-up the ELK stack locally and it worked perfectly fine.
But now I am struggling with deployment, when I do
curl http://localhost:9200 from the instance, elasticsearch works fine and shows me the default page with JSON "You Search". Next step I felt was to open a port in my Load Balancer which I did (TCP port 5601) for Kibana. Now when I check if the 5601 port is working, I get this from netstat:
tcp 0 0 127.0.0.1:5601 0.0.0.0:* LISTEN
Shouldn't I now be able to access Kibana at 172.xx.xx.xx:5601 (the public IP I get from
ifconfig on the machine)? But I do not, I get a "Connection Refused".
I can share any file you want me to, I've set 0.0.0.0 in
kibana.yml by the way.