Testing Connections

To test the connection to the MongoDB server directly from the Design Server web UI, follow these steps:
  1. Access Design Server Web UI: Navigate to the Design Server web user interface where you intend to test the MongoDB connection.
  2. Locate Connection Settings: Within the Design Server web UI, find the section or interface where you can configure the MongoDB connection settings.
  3. Define Connection Object: In the configuration section, you need to define a Connection object. This object should contain the following properties:
    • Host: Specify the valid host address where your MongoDB server is running.
    • Port: Provide the port number on which MongoDB is listening (The default port number is 27017).
    • User: Enter the username required to authenticate the connection to MongoDB.
    • Password: Input the corresponding password for the specified user.
    • Database: Specify the name of the database to which you want to connect.
    • Auth Database: Indicate the authentication database if it differs from the main database.
  4. Ensure Network Connectivity: Make sure that there is functional network connectivity between the Design Server and the MongoDB server. Ensure both servers can communicate with each other over the network.
  5. Enter Connection Parameters: Fill in the necessary values for the Host, Port, User, Password, Database, and Auth Database properties within the Connection object.
  6. Initiate Connection Test: After setting up the connection parameters, locate and click the Test button provided within the Design Server web UI.
  7. Review Connection Status:
    • Successful Connection: If the connection test is successful, you will receive a confirmation message indicating that the connection to the MongoDB server has been established successfully.
    • Failed Connection: In case of an unsuccessful connection test, an error message will be displayed. This error message will provide details explaining the reason for the failed connection, allowing you to troubleshoot and rectify the issue
Note: If you encounter any issues or receive an error message, review the connection parameters, ensure network connectivity, and verify the credentials and settings provided. Make necessary adjustments based on the error details to establish a successful connection.