TCP 27017
Synopsis
- MongoDB database server (mongod) listens on TCP port 27017 by default.
- The MongoDB sharding router (mongos) also defaults to TCP 27017 for client connections.
- Managed MongoDB services such as MongoDB Atlas expose cluster nodes on port 27017.
- AWS DocumentDB (with MongoDB compatibility) accepts client connections on TCP 27017.
- Percona Server for MongoDB and similar MongoDB-compatible builds use 27017 as their default service port.
- This port is frequently targeted: attackers mass-scan for exposed MongoDB services on 27017 and have conducted data-wipe/ransom campaigns against instances lacking authentication or with weak configurations.
Observed activity
Last 30 days
Detailed chart