WHATPORT(27017) whatport.net WHATPORT(27017)
27017

MongoDB

MongoDB's default port, registered to MongoDB, Inc. since 2019.

TCP IANA registry

Description

27017 is the default listening port for mongod and mongos; sharded and config servers use 27018 and 27019. Access control is not enabled by default, so a server started without --auth and bound beyond localhost hands full read/write to anyone who connects. Point a browser at it and MongoDB answers over HTTP with a note that you are hitting the native driver port, which makes it easy to fingerprint.

Exposed to the internet?

Do not expose

MongoDB's security checklist calls for enabling access control and restricting net.bindIp to trusted clients — an exposed 27017 is the classic ransomed-database scan hit.

Check it yourself

$ curl -s http://127.0.0.1:27017/

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.