Port 9200
Port 9200 Elasticsearch REST API
Elasticsearch answers on port 9200. Exposed clusters without security have leaked billions of records and been wiped for ransom.
What is port 9200 used for?
Port 9200 is the default port of the Elasticsearch REST API, and of OpenSearch, its open source fork. Applications and Kibana use it to store and search data, and the nodes of a cluster talk to each other on port 9300.
Older versions shipped with security switched off, and many clusters still run that way.
Why attackers want it
An open cluster lets anyone read, copy or delete every index. Attackers dump the data, wipe it and leave a ransom note, or abuse old versions with known flaws to run code on the server.
Who scans port 9200
Every address that scanned port 9200 from 28 October to 27 November 2026, with known scanners left out.
- AS7922Comcast Cable Communications, LLC 3.943
- AS7018AT&T Enterprises, LLC 1.713
- AS701Verizon Business 1.423
- AS8075Microsoft Corporation 1.394
- AS4837CHINA UNICOM China169 Backbone 1.369
- AS2856British Telecommunications PLC 1.340
- AS5089Virgin Media Limited 1.320
- AS21928T-Mobile USA, Inc. 1.265
- AS4134Chinanet 1.254
- AS14061DigitalOcean, LLC 1.244
- United States of America 24.085
- United Kingdom 6.339
- People's Republic of China 3.508
- Canada 1.029
- Germany 913
- Ireland 765
- Russian Federation 736
- Singapore 592
- Netherlands 545
- Hong Kong 405
Should port 9200 be open?
Port 9200 should never be reachable from the internet. Keep the cluster on a private network, turn security on with passwords and TLS, and reach it through your applications or a VPN.
Keep it private
Bind Elasticsearch to private addresses and drop inbound TCP 9200 and 9300 at the edge.
Turn security on
Enable authentication, roles and TLS, which recent versions do by default, and remove anonymous access.
Back up and update
Keep snapshots outside the cluster and update to supported versions.
Port 9200 questions
What is port 9200 used for?
Port 9200 is the default port of the Elasticsearch and OpenSearch REST API. Port 9300 carries traffic between the nodes of a cluster.
Is it safe to expose Elasticsearch on port 9200?
No. An exposed cluster can be read, copied and deleted, and many have been wiped and held for ransom.
What do attackers do with an open Elasticsearch?
They download the data, delete the indexes and leave a ransom note, or exploit old versions to run code on the server.
How do I block port 9200?
Drop inbound TCP 9200 and 9300 on your firewall and enable Elasticsearch security. An IP blocklist of active scanners stops the sources that look for clusters.
Block the sources that scan port 9200.
An hourly IP feed of active scanners keeps them away from this port and everything else you run.