What is Port 27017 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
Run the following command to check if Port 27017 is reachable and determine service fingerprints:
nmap -p 27017 --script mongodb-info