Guidance on usage: MongoDB Community Server on Windows Server 2022 DC

MongoDB Community Server on Windows Server 2022 DC combines the flexibility and performance of MongoDB with the reliability and security of Windows Server 2022 DC, providing a powerful solution for managing your organization’s data.

Effortless installation. Ready-to-run with easy maintenance. Explore now for a smooth experience!

Connecting to MongoDB Community Server on Windows Server 2022 DC

To start the server, run the VM through Azure Portal.

  1. For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”).
  1. To work, you must open TCP ports 3389, 27017, 27018, 27019, and 27020  in the network properties in the Azure firewall.
  1. To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”. In the window that appears, enter “mstsc” and click “OK”.
  1. In the window that appears, enter the virtual machine’s IP and click “Connect”.
  1. In the window that appears, enter your username and password and click “OK”.
  1. Check the box and click “Yes”.
  1. In the opened server, run “mongodb_start.bat
  1. Go to the download page of Studio 3T
  1. Choose which OS you want to download the application for
  1. If the portable version was downloaded, unpack the archive “studio-3t-x64.zip” (if Windows was selected) and run the file studio-3t-x64.exe
  2. When you start the app, the window with the creation of the connection opens. If this did not happen, click “File” > “Connect…” in the upper right corner. 
  1. In the Connection Manager window, click on “New Connection
  1. Select “Manually configure my connection settings” and click “Next”
  1. In the “Server” tab in the “Connection name” field (1) name the connection in any convenient way. In the “Server” fields enter your IP server (2) and “Port” (3) and leave with no changes
  1. Click “Test connection” to check if all settings are correct.
  1. The following window should appear
  1. Close this window and click “Save” to save the connection
  1. In the “Connection manager” window, select the connection you just created and click the “Connect” button.
  1. Now you can work with your own MongoDB Community Server on Windows Server 2022 DC