I have an Elastic Search running on 9200 on rhel 6. I cannot reach to it in aws with private/public ip. On the other hand, i try it with curl localhost:9200, it is good. I can also ping google.
I have given the necessary port access from the security group.
sec inbound allowed port:
My /etc/resolv.conf is :
generated by /sbin/dhclient-script
search ec2.internal
nameserver 172.31.0.2
UPDATE: I have also installed an apache webserver on 80 port. And it is responding from the public and private IPs. So the main problem is mainly with Elasticsearch or 9200 port. Any idea?