Server Dock

GUIDES · GAMES & SERVICES · mongodb

How to host a server for MongoDB Database Server

Dedicated MongoDB Database Server server managed with Server Dock (Windows · Linux). Automatic setup, live console, configs, and backups.

OS: Windows · LinuxRAM: from 2 GBDisk: from 5 GBIsolated application container

Real-World Resource Calculator · MongoDB Database Server

Estimate actual RAM, CPU, and disk usage for your player count, map, and cluster size.

Actual RAM needed
~2.5 GB
Spec-sheet max: 2 GB
Recommended CPU
2 vCPU
Disk (with backup headroom)
12 GB
Suggested VDS tier
VDS Starter (2 vCPU · 4 GB RAM)

For small friend groups (2–10 players), real RAM usage is often 1.5–2× lower than peak catalog numbers.

Step-by-step installation & launch guide

  1. 1. Install the Server Dock agent on your PC, Steam Deck, or Linux VPS

    Create a free account at server-dock.net. Get the installer from the Download page and run it on Windows 10/11 (x64) or Linux / VPS / Steam Deck (x86-64). In the wizard click “Подключить мой аккаунт” (Connect my account) and enter the 8-character code on the site. Python is bundled.

    # Windows (PowerShell)
    irm https://server-dock.net/install.ps1 | iex
    
    # Linux
    curl -fsSL https://server-dock.net/install.sh | bash

    All installers: Windows, Linux, Steam Deck, VDS

  2. 2. Create a "MongoDB Database Server" server from the catalog

    Open "Games & Services" in the panel → search for "MongoDB Database Server" → pick your device. The panel automatically verifies free memory (recommended 2 GB+ RAM) and disk space (5 GB+).

  3. 3. Automatic setup (Isolated application container)

    Deploys the service inside an isolated container without altering host system libraries.

  4. 4. Configure settings and start the server

    Set server name, password, map/world, and ports (27017 (Server Port)) in the Settings tab, then click Start. Watch real-time readiness in the live console.

  5. 5. Invite friends to join

    Open the Connection tab inside the server: forward ports (27017 (Server Port)) on your router / VPS firewall, or enable built-in Porthole, Playit, or the VPS tunnel wizard (no static IP needed). Share the 1-click invite link with friends.

Network ports · MongoDB Database Server

For direct friend connections, forward these ports on your router or VPS Cloud Firewall. Behind CGNAT? Enable built-in Porthole, Playit, or the VPS tunnel wizard right inside Server Dock.

PurposeDefault PortDescription
Server Port27017Default server network port.

Key panel settings

SettingDefaultDescription
Server Port27017Configurable in the web panel before launch.
Bind Ip—Configurable in the web panel before launch.
Max Conns1000000Configurable in the web panel before launch.
Slowms100Configurable in the web panel before launch.
Ipv6falseConfigurable in the web panel before launch.
QuietfalseConfigurable in the web panel before launch.

Backups & saved paths

When creating a backup, Server Dock automatically archives: data, mongod.conf.

Official documentation

Additional game parameters are documented in the official MongoDB Database Server documentation ↗.

MongoDB Database Server Server FAQ

  1. How do I host a MongoDB Database Server dedicated server on my own PC?

    Sign up for Server Dock, install the lightweight Windows or Linux agent, pick MongoDB Database Server from the catalog, and click Create. Server files and dependencies are installed automatically.

  2. What are the RAM, disk, and OS requirements for a MongoDB Database Server server?

    Recommended minimum: 2 GB RAM and 5 GB free disk space. Supported platforms: Windows · Linux.

  3. Which ports does MongoDB Database Server use, and can friends join without port forwarding?

    Default MongoDB Database Server ports: 27017. You can forward them on your router or enable the built-in Playit / Porthole tunnel in one click with zero router changes.

  4. Is Server Dock free for hosting a MongoDB Database Server server?

    Yes. Server Dock Free is free forever and keeps all MongoDB Database Server worlds, mods, and backups locally on your own PC or VPS.

Ready to host your MongoDB Database Server server?

Create a free account or sign in to Server Dock—our agent downloads MongoDB Database Server, configures ports, and launches your world in minutes.

More guides in "Games & Services"