MATLAB Answers

Why do I receive License Manager Error -95?

조회 수: 4,277(최근 30일)
Why do I receive the following License Manager Error?
License checkout failed.License Manager Error -95MATLAB is unable to connect to the license server.Make sure you can resolve the hostname of your machine.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 5월 4일
편집: MathWorks Support Team 2021년 5월 4일
License Manager Error -95 indicates that MATLAB cannot resolve the hostname of the computer that is running the network license manager.
This issue can occur even if the license manager is running.
To verify that the license file contains a resolvable hostname, open the license file in a text editor. The license file location varies depending upon operating system and version:
Windows: C:\Program Files\MATLAB\R20***\licenses\network.lic
Linux: /usr/local/MATLAB/R20***/licenses/network.lic
macOS: /Applications/MATLAB_R20***.app/licenses/network.lic
In the license file will be a line that starts with the word SERVER followed by the hostname of the license server or the IP address of the license server. Generally this issue occurs when there is a hostname present and that name is not resolvable.
For local license managers, you may also see the term "this_host". This means that the license manager will use the current hostname. This hostname can be retrieved by running the command "hostname" from a terminal or command prompt.
To confirm that the hostname is resolvable:
  • Open command prompt or terminal
  • Run the following command (replace "hostname" with hostname of license server)
ping hostname
If the output of the command is "unknown host", MATLAB will not be able to connect to the license manager. You will need to change the hostname listed on the SERVER line of the license file, or use the IP address of the license server.
If the license manager is running locally, you can resolve this issue by making the hostname resolvable. To do so, you can modify the system's host file. Please check with your IT department before modifying your hosts file.
C:\Windows\system32\drivers\etc\hosts (Windows)
/etc/hosts (Linux/Mac)
To make the hostname resolvable, add it to the loopback address line. Generally this line ends with the value localhost or localhost.localdomain. For example, you should see a line with the following:
127.0.0.1 localhost localhost.localdomain
or
::1 localhost localhost.localdomain
To make the local hostname resolvable, add it to the end of this line. For example:
127.0.0.1 localhost localhost.localdomain john-pc
Once added, if you restart the local license manager, you should be able to start MATLAB. If the license manager is not running locally contact your network administrator for assistance with ensuring that the license server machine is resolvable.
  댓글 수: 9
Colin Fraser
Colin Fraser 2020년 10월 28일
@Muhammad Ahmad
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

댓글을 달려면 로그인하십시오.

추가 답변(9개)

junaid tariq
junaid tariq 2018년 10월 6일
편집: Walter Roberson 2018년 10월 6일
My matlab app is not working giving errors related to server which is visible in the image.
  댓글 수: 3
Cody Lamke
Cody Lamke 2020년 4월 16일
Hello,
If you are still experiencing this issue, please contact MathWorks support:
-Cody Lamke

댓글을 달려면 로그인하십시오.


Sandive Direckszes
Sandive Direckszes 2020년 4월 19일
Help I'm experiencing licensing error 95, 378 I did everything as the guide above but still no pls help
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 4월 19일
were you able to find your network license file, and see which host name was configured there for the license server? Were you able to ping that host? Were you able to edit the hosts file to add an entry mapping the host name to its IP address?

댓글을 달려면 로그인하십시오.


Veena Pani
Veena Pani 2020년 4월 25일
problem with activation

Veena Pani
Veena Pani 2020년 4월 25일
getting error 95
  댓글 수: 1
Colin Fraser
Colin Fraser 2020년 4월 29일
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

댓글을 달려면 로그인하십시오.


davut sevim
davut sevim 2020년 4월 28일
편집: Walter Roberson 2020년 4월 28일
5XXXX-XXXXX-XXXXX-XXXXX-XXXXX
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 4월 28일
Activation keys do not have anything to do with error 95; error 95 is only about host name resolution.

댓글을 달려면 로그인하십시오.


UMMADI BRAMHAIAH
UMMADI BRAMHAIAH 2020년 6월 22일
sir i am student please provide matlab
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 6월 22일
Only Mathworks and authorized Redistributors are authorized to provide MATLAB. If I were to give you access to my copy of MATLAB then I would lose my license.
Error 95 has to do with network license servers being run by your organization. You need to talk to the IT people at your organization about the problem.

댓글을 달려면 로그인하십시오.


Mostafa Mahamoud
Mostafa Mahamoud 2020년 8월 29일
actvation the program please
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 8월 29일
Please provide more information about the difficulty you are encountering.
Note: the volunteers who answer questions here do not have access to the Mathworks license database, so we cannot provide activation keys.

댓글을 달려면 로그인하십시오.


Zarwish Javaid
Zarwish Javaid 2020년 12월 21일
what to do with this dialogue box?
and my matlab is not working even I have done the hostname thing
  댓글 수: 7
Muhammad Ahmad
Muhammad Ahmad 2020년 12월 22일
I actually don’t remember the exact file directory.. but i read the installation guide many times ..all details was given there, that which file is to to be replaced.

댓글을 달려면 로그인하십시오.


Asad Shamim
Asad Shamim 2021년 3월 20일
detail licence
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 5월 2일
This error is not related to your license. This is an error that occurs for people who are using network licenses to use a license provided by a business or university, and it only occurs when the name of the licence server in the license file cannot be resolved into an ip address.

댓글을 달려면 로그인하십시오.

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by