TR EN

Port 27017: MongoDB Database

Port 27017 is the default communication port for MongoDB NoSQL document databases.

⚡ Live Port 27017 Open / Closed Scanner

Test real-time TCP socket connectivity on Port 27017 for any domain or IP address:

Protocol
TCP
Category
NoSQL Database
Common Services
MongoDB Community & Enterprise

What is Port 27017 (MongoDB Database) and How Does It Work?

Port 27017 is the default communication port for MongoDB NoSQL document databases.

Security Vulnerabilities & Attack Vectors on Port 27017

Unauthenticated MongoDB instances on 0.0.0.0 are actively wiped by automated ransomware bots. Enable auth and bind to internal IPs.

Auditing & Scanning Port 27017 with Nmap / Netcat

Run the following commands to check if Port 27017 is reachable and inspect active listeners:

nmap -p 27017 --script mongodb-info <target>
nc -zv target-server.com 27017
sudo lsof -i :27017

Related Network Ports

Port 21 (FTP)Port 22 (SSH)Port 25 (SMTP)Port 53 (DNS)Port 80 (HTTP)Port 110 (POP3)Port 143 (IMAP)Port 443 (HTTPS)Port 465 (SMTPS)Port 587 (SMTP)

Frequently Asked Questions

How do I check if Port 27017 is open?
Use the Live Port 27017 Scanner widget at the top of this page to test any domain or IP, or run 'nc -zv target-ip 27017' in your terminal.
Is it safe to leave Port 27017 open to the internet?
Exposing Port 27017 (MongoDB Database) publicly introduces attack surface. Restrict access with firewall rules, IP whitelisting, and strong authentication.