Port 27017 β MongoDB
Quick reference for TCP/UDP port 27017, used by MongoDB. Includes what the service does, security guidance and related ports.
What is port 27017?
MongoDB default.
What port does MongoDB use?
MongoDB listens on port 27017 by default.
Security guidance
High risk β do not expose to the internet
Port 27017 (MongoDB) is high-risk because the service it carries is a frequent target for credential attacks, brute force or unpatched-vulnerability scanning. Keep it bound to localhost or your VPN, never forward it directly on a router, and require strong authentication.
Related ports
Frequently asked
What is port 27017 used for?+
Port 27017 is the standard TCP/UDP port for MongoDB. MongoDB default.
What port does MongoDB use?+
MongoDB listens on port 27017 by default.
Your IP Address Is Exposed Right Now
Every website you visit can see your real IP address and location. NordVPN encrypts your traffic and hides your identity with military-grade encryption. Stay anonymous online.