Is port 9200 (Elasticsearch) safe to expose?
Elasticsearch / OpenSearch REST API. Exposing it to the internet is a critical risk.
Why exposing port 9200 is risky
Unauthenticated by default in old setups. Exposed clusters have leaked billions of records and are wiped for ransom.
How to check if it's exposed
From outside your network, a quick nmap -p 9200 <your-ip> (or an external port scanner) shows whether 9200 answers. On the host, ss -tlnp | grep :9200 shows what's listening and on which interface — it should be a private address, not 0.0.0.0.
How to secure it
- Enable the security features (auth + TLS) and bind to a private interface.
- Close 9200/9300 at the firewall.
SkyShield watches what's really exposed
SkyShield follows your firewall rules through to the container and shows what the internet can actually reach. Free for one server, then from $49 per server a month. Start free.