Apart from the suggested debugging above: Making ES publicly accessible generally is a very bad idea. For some background on the reasoning read here (though a bit older, most of the information is still valid and relevant):
Would you mind sharing your use case of why you need public access?
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.