Why do I receive a "Hostids Do Not Match" warning when installing the network license manager?

148 views (last 30 days)
Why do I receive a "Host IDs Do Not Match Error" when installing MATLAB R2021b or newer with a server license.dat file with the error below?
The Host ID in the license file must be for this computer. Obtain a new license file generated for the Host ID of this computer from your license administrator or from MathWorks License Center.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Feb 2023
Edited: MathWorks Support Team on 23 Feb 2023
If you are installing with R2022a and newer
You may be receiving this error message for 2 reasons:
  • You have selected a license file that was generated for a different physical/MAC address than the one your computer has.
  • You are using an IP address as your Host ID. You may proceed past this warning message since this part of the installation only looks for a physical/MAC address as a valid Host ID. It does not mean you cannot use an IP address as your Host ID nor does it mean that the IP address is incorrect.
If you are using an IP address as the Host ID and you proceed with installation on a Windows machine, you may need to manually edit your license file after installation.
For example, the following SERVER line:
SERVER test-server 192.168.86.31 27000
Must be updated to:
SERVER test-server INTERNET=192.168.86.31 27000
Once the license.dat file is updated, you will be able to start the license manager.
If you are installing with R2021b
When installing MATLAB R2021b and Toolboxes with a Network License, this error is generated due to a bug. Please ignore the "Hostids Do Not Match" error message and proceed by pressing the OK button.
Alternatively, you can select a network.lic or a network license file instead of a license.dat which contains the following information within the file:
SERVER {hostname} {HostID} 27000
USE_SERVER
If you are installing with R2021a and older
You have selected a license file that was generated for a different Host ID than the one your computer has. Check the Host ID that the license file was generated for and make sure it matches the Host ID of your computer. A Host ID can either be a physical/MAC address or IP address.

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!