I am using Elasticsearch7.5.2 on EC2 instance and I have modified config/elasticsearch.yml as:
network.host: 0.0.0.0 node.master: true node.data: true transport.host: localhost transport.tcp.port: 9300
I can access it inside EC2 by using localhost and EC2 private IP. See attached images:
But when I use public IP of EC2 to access it from my local machine. It doesn't give any response. See attached image:
Anyone who can help?