ElasticSearch is trivial to find, both using zmap or shodan.
Please PLEASE PLEASE firewall your ElasticSearch server. I don't care how you do it, what wrapper you use, etc. Just FIREWALL ALL THE PORTS APPLICABLE [9200/9300]
If you don't you put everyone on the fediverse's safety at risk.