Skip to main content
Curated port reference

Port 27017: MongoDB

MongoDB commonly uses port 27017 over TCP. Other transports listed below are registry conventions only. Review its purpose, traffic direction and operational security considerations.

27017TCP

MongoDB

Default MongoDB client and server endpoint.

Typical use

Applications, administrators, replica-set members, and sharded-cluster components connecting to MongoDB.

Traffic direction

Client to server

Security considerations

Never expose an unauthenticated database publicly; require authentication, TLS, least privilege, and network restrictions.

27017UDP

MongoDB (UDP reference coverage)

MongoDB (UDP reference coverage) is documented as a network service convention for port 27017 over UDP.

Typical use

Use this reference entry when identifying or validating systems documented to use 27017/UDP.

Traffic direction

Varies

Security considerations

Confirm the listening process and current vendor documentation before permitting traffic; a listed convention does not prove the active service or its security posture.