Connecting to a Server Database
You can connect to a server database via a Model Manager server running either locally on your computer or on a server computer in your organization’s internal network.
See the Model Manager Server Manual for instructions on how to install, configure, and administer a Model Manager server.
1
2
Select the Require secure connection check box if the network connection is made using a secure connection, with transport layer security provided by HTTPS (as opposed to plain HTTP). A warning message is shown if the check box is cleared.
3
Write your user credentials used to authenticate with the Model Manager server under User. You can opt to remember the provided password between program sessions by selecting the Remember password check box. The password will be stored in an encrypted form on the local file system.
4
5
Click the Connect button () to connect to the Model Manager server.
You are strongly recommended to connect to the Model Manager server using a secure connection, with transport layer security provided by HTTPS. Clearing the Require secure connection check box will send all data, including your credentials, in an unencrypted cleartext format. See the Model Manager Server Manual for configuring a Model Manager server to use secure connections.
To connect to a Model Manager server running on, for example, port 8181 on the same computer as COMSOL Multiphysics, write localhost:8181 under Server.
Connecting Via a COMSOL Multiphysics Server
When a COMSOL Multiphysics client is connected to a COMSOL Multiphysics server running on another host computer, the communication is typically over a nonsecure channel. This means that any credentials written in the user interface on the client computer would be sent to the COMSOL Multiphysics server computer in an unencrypted cleartext format. For this reason, Model Manager does not allow writing a password in the Connect to Server Database window when running in client–server mode unless it detects that the client–server connection is over a secure channel. You are instead met with a message in the Connect to Server Database window informing you that a secure password prompt will be shown when connecting to the database.
1
2
Click the Connect button ().
A Progress dialog box is shown informing you to provide credentials for the Model Manager server in the COMSOL Multiphysics server’s console window.
3
When you have finished providing your credentials, the Progress dialog box is automatically closed and a connection to the Model Manager server is established.
Troubleshooting
The following are some common error messages when connecting to a Model Manager server and suggestions on how to address them:
The server address could not be resolved.
The server address in the Server field does not match the address of any server in your organization’s internal network. Verify that you have written the correct server address. Alternatively, if you are able to log in to the web interface of the Model Manager server using a web browser, click on the COMSOL logo in the upper-left corner to make sure you are on the start page, and then copy the web page’s link address from the web browser’s address field. That link address should then be pasted into the Server field.
Connection timed out/Connection refused.
This typically happens when the server computer was found in your organization’s internal network but the Model Manager server itself is currently not running on that server computer. It can also happen if you have missed providing, or provided the wrong, port number for the Model Manager server.
The current password is temporary and must be changed.
You are trying to log in using the temporary password set for the default administrative user account created during installation of the Model Manager server. First log in to the Model Manager server’s web interface using a web browser and change the temporary password when prompted.
Database configuration is not activated.
The default server database has been deactivated by an administrator of the Model Manager server. The server database needs to be activated again via the Model Manager server’s web interface before you can connect from COMSOL Multiphysics.
No default database configured.
The administrator of the Model Manager server has not set a default database for the server. One of the configured server databases has to be set as the default one via the Model Manager server’s web interface before you can connect from COMSOL Multiphysics.