Platform: All Platforms Versions: Toutes les versions

Problem Description

When trying to launch COMSOL Multiphysics, I get an error message that indicates that I am not able to connect to the license manager. How can I check that?

Solution

There are several ways of testing if you can connect to a license server. A few of them are listed below.

On Windows

Using telnet

When telnet has been enabled on your computer, please do the following:

  • Open up a command prompt.

  • Write the following command: telnet hostname portnumber where hostname should be replaced with the hostname of the license server machine, and portnumber by the port number that is used. The default ports used are 1718 and 1719.

  • If the connection is not successful, you should get an error message similar to this one:

  • If the connection is successful, it should look similar to this:

If telnet is not installed on your computer, you can install it by doing the following:

  1. Open the Start menu.
  2. Select Control Panel.
  3. Choose Programs and Features.
  4. Click Turn Windows features on or off.
  5. Select the Telnet Client option.
  6. Click OK.

A dialog box appears to confirm installation. After this, the telnet command should now be available from the command line.

Using Power Shell
  • Locate Power Shell by typing PowerShell into the search bar in Windows 10, and then launch it.

  • With this program open, type Test-NetConnection -ComputerName hostname -port portnumber, where hostname should be replaced with the hostname of the license server machine, and portnumber by the port number that is used and press enter.

  • If the connection is not successful, you should get an error message similar to this one:

  • If the connection is successful, it should look similar to this:

On Linux

From a terminal, run the command nc -vz hostname portnumber, where hostname should be replaced with the hostname of the license server machine, and portnumber should be replaced with the port you want to test to connect to. The default ports used are 1718 and 1719.

  • If the connection is not successful, it should look something like this:

  • If the connection is successful, it should look similar to this:

On macOS

From a terminal, run the command nc -z hostname portnumber where hostname should be replaced with the hostname of the license server machine, and portnumber should be replaced with the port you want to test to connect to. The default ports used are 1718 and 1719.

  • If the connection is not successful, it should look similar to this (and you might have to use ctrl + cto abort the command):

  • If the connection is successful, it should look similar to this: