27017
TCP
MongoDB
MongoDB Database
⚠️ Security: DependsStatus: Active🗄️ Category: Database
📋 Basic Information
- Port Number
- 27017
- Protocol
- TCP
- Service
- MongoDB
- Popularity
- 🔥 High
🔒 Security Information
💡
Security Notes
Do not expose externally, enable authentication and use TLS
🛠️ Installation
🐧Linux
# Ubuntu/Debian
wget -qO - https://www.mongodb.org/static/pgp/server-7.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt update
sudo apt install mongodb-org -y
sudo systemctl start mongod
sudo systemctl enable mongod🐳Docker
docker run -d --name mongodb -p 27017:27017 mongo:latest🔌Connect
mongosh mongodb://localhost:27017🔗 Related Ports
3306🔥
MySQL
MySQL Database
TCP
MySQL relational database management system, most popular database for web applications with high performance, replication, and clustering
⚠️ Security: Depends🗄️ Category: Database
5432🔥
PostgreSQL
PostgreSQL Database
TCP
PostgreSQL open-source relational database with ACID transactions, complex queries, foreign keys, triggers, views, and JSON support
⚠️ Security: Depends🗄️ Category: Database
6379🔥
Redis
Redis In-Memory Data Store
TCP
Redis in-memory data store for caching and session management
⚠️ Security: Depends💾 Category: Cache