Skip to main content
Curated port reference

Port 27017: MongoDB / MongoDB (UDP reference coverage)

Port 27017 supports MongoDB and MongoDB (UDP reference coverage) across distinct transports. Review each protocol before writing firewall or monitoring policy.

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.