Skip to content

Port 27017: MongoDB

Common Ports Reference: What runs on port 3389, 445 or 5985: common TCP and UDP ports for web, mail, Windows, AD, databases and VPNs, with security notes.

The ports that come up when opening a firewall, reading a scan or troubleshooting a connection: what runs on each, TCP or UDP, and what to watch out for. Search by number or name. Port numbers and service names were checked against IANA's port number registry; ports that are widely used but assigned by IANA to something else are marked unofficial.

Port number or name

27017 is a registered port (1024-49151): assigned by IANA on request. IANA's registry lists everything assigned to it: look up 27017 at IANA.

1 of 96 ports

PortProtocolServiceWhat it's forIANA name
27017
TCP
MongoDB
Default database port.
mongodb
Careful: Never open this to the internet; reach it over a VPN or from trusted networks only. Thousands of unprotected MongoDB servers have been wiped or held for ransom.

Is port 27017 open on your network? Check it → · All common ports →