Control Architect Help Documentation
×
Menu
Index

Connecting to Remote Server

 
Control Architect supports connecting to a remote Server such as a Mongo Atlas Cloud host or a remote Network Server that has MongoDb server installed and running as a Service.
 

Connecting to a remote Network Server

 
The Windows Server machine hosting the MongoDB Service needs to open its port 27017 to allow inbound connections.  Create a new Inbound Rule in your Windows Server 2016 server to open port 27017 to allow inbound connection requests.
 
 
Configure your Mongo Service configuration file similar to below:
 
The storage and net sections of this configuration file require adjusting to reflect your server configuration.
The default port# 27017 can be maintained or the IT specialist may choose another port to provide inbound connections.
The physical database path as shown below for "dbPath" should be changed to reflect the folder path that contains your Mongo DB database files.
 
 
If authentication is required on the Mongo database, then modify the configuration file as follows:
The '#' pound character is used to comment out a line in the configuration file.  Also note that strict indentation is required according to yaml rules.
 
 
This configuration file is typically stored where the Mongo Server binary files are located, but can be stored anywhere.  The Mongo Service when installed requires you to specify the location of this configuration file.
 
 
Install the Mongo Service using Command Prompt tool:
 
 
 
After running the command to install the Mongo Service, you can view the installed Server status using Windows "service.msc" as shown below:
 
 
Enable Server Authentication
 
Determine if your Server installation will require authenticated access to the Mongo databases.  If authentication is required, then your Server manager must add the users and their credentials and provide this data to the clients to allow them to connect using authentication.  Refer to this topic for information about adding new users for authenticated access.  Choose the Use MongoServer Authentication option to enable passing of authentication User Name and Password when connecting to a Mongo Server.
 
Administrators will want to add an admin account to the Mongo [admin] database as a "root" role.  See https://docs.mongodb.com/manual/reference/built-in-roles/ for a discussion on built-in roles available for the Mongo database.
 
 
Install a physical Mongo database
 
See the topic Moving Server Database for information on copying an existing physical database to move it to another file location.
 
 
 
 
Connecting to Remote Server
1

Mongo Server tab

1. Mongo Server tab
 
2

Authentication Credentials

2. Authentication Credentials
Specify the User Name and Password for establishing an authenticated connection to the remote Mongo Server.
3

Use Remote Server option

3. Use Remote Server option
Choose this option to specify a remote server.  This could be a connection string for connecting to a Mongo Atlas Cloud host or an IP Address for connecting to a remote Network Server installation.
4

MRU List of Remote Addresses drop-down list

4. MRU List of Remote Addresses drop-down list
Enter the address of a remote Server or click this drop down button to select from a list of most recently used remote server addresses.
5

Remote Server Port

5. Remote Server Port
Specify the Server port to use when connecting to a remote Server.
6

Use MongoServer Authentication option

6. Use MongoServer Authentication option
Choose this option to connect to a Mongo Database using authentication.