Port 27017 (MongoDB)

Default port for MongoDB.

Transport
TCP
Internet exposure
Never expose

Should not be reachable from the internet.

Security notes

  • Tens of thousands of exposed, unauthenticated MongoDB databases have been wiped and held to ransom.

When it shows up in your logs

Internet connections to 27017 are scanning or exploitation.