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
wherehostname
should be replaced with the hostname of the license server machine, andportnumber
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:
- Open the Start menu.
- Select Control Panel.
- Choose Programs and Features.
- Click Turn Windows features on or off.
- Select the Telnet Client option.
- 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
, wherehostname
should be replaced with the hostname of the license server machine, andportnumber
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 + c
to abort the command):If the connection is successful, it should look similar to this:
COMSOL は, 本ページに掲載されている情報の確認に合理的な努力を払っております. リソースおよびドキュメントは情報提供のみを目的としており, COMSOL はその有効性について明示的または黙示的な保証を行いません. 開示されたデータの正確性について, COMSOL は法的責任を負いません. 本文書で言及されている商標はすべて, それぞれの所有者に帰属します. 商標に関する詳細は, 製品マニュアルをご参照ください.