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:
so now i am sure. your elastic search has been installed in windows machine as i am looking and you want to access the same elastic search over a network as i shared ?
pls confirm me about above?
this is your machine IP-172.31.33.208:9200?
i think , this ip172.31.33.208:9200 you can access?
> if your elastic is running on EC2 then you need to check same configuration there only(EC2).
why you are using windows elastic config files here with windows machine.
in simple , you want to access / query that EC2 elastic from windows machine right?
Note-you need to check all config file with EC2 only .
within EC2 - there two IP is there one is Private and another is Public ,
you need to bind public IP here as i did in my case.
I bind ec2 public IP in hosts file but that did not work. Please explain what is meant by this "if your elastic is running on EC2 then you need to check same configuration there only(EC2)."
Just to clear, I have binaries of elasticsearch in EC2 Windows Instance and that has private and public ips. Within EC2 it is accessible via private ip but in my local machine, it is not accessible via public ip which I bind in EC2 hosts file.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.