MATLAB Answers

Why do I receive License Manager Error -15?

조회 수: 11,332(최근 30일)
MathWorks Support Team
MathWorks Support Team 2010년 5월 6일
답변: Mariusz Pawlak 2021년 10월 7일 11:06
Why do I receive "License Manager Error -15"?
On the client system, the error appears as:
ERROR: License checkout failed. Cannot connect to license server. License Manager Error -15.On the license server, the error appears as:
FlexNet Licensing error: -15,10. System Error: 10061 "WinSock: Connection refused"

채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 4월 19일
편집: MathWorks Support Team 2021년 4월 19일
This error can have different meanings depending on which system it occurs.
If you receive this error on a client installation of MATLAB:
  1. Verify communication by pinging the license manager server from the client with the following command: ping <hostname>  where <hostname> is the hostname of the server machine. If this fails you may have a networking error that is preventing the client from communicating with the license manager server. Contact your network administrator to resolve this issue. NOTE: If you know the IP address of the server and are able to ping that, the issue more lies within the DNS configuration of your network. You can replace the hostname in the server line of the network.lic with the IP address as a workaround
  2. Verify that the SERVER line of the network.lic on the client matches that of the license.dat file on the server itself. If the SERVER line differs it may cause the client to contact the wrong server/port.
  3. Check if there is a firewall(s) between the MATLAB client and the license manager server. The license manager communicates on two ports that must be opened through the firewall(s). These ports are specified in the license file hosted on the license manager server. If there is a firewall running, contact your System Administrator to open the necessary ports in the firewall.
If you receive this error on the license server:
  1. Verify that the license manager is running on the license server. If the license manager is not running, restart the license manager and try to run MATLAB again. This will often resolve the error. For more information on how to restart the license manager, see instructions: https://www.mathworks.com/matlabcentral/answers/102968-how-do-i-start-or-stop-the-network-license-manager
  2. Verify that the TCP port numbers used by the license manager are not already being used by another application. To determine which port numbers the license manager is using, refer to the end of the SERVER and/or DAEMON lines in the license.dat file.
Note that the license manager uses two ports. The first port is used by lmgrd, and is defined at the end of the SERVER line in the license.dat file. By default, port 27000 is used. The second port is used by MLM, and is (optionally) defined at the end of the DAEMON line in the license.dat file. By default, the port is randomly selected.
Example:
SERVER Host_Name HostID 27000
DAEMON MLM <path/to/MLM> port=1711
Note: In this setup both the Host Name and HostID are from the License Server, not the client computer.
If the DAEMON line does not end with "port=<number>", then MLM is using a random open port. In the example above, you will need to check ports 27000 and 1711. Consult your network administrator for help identifying ports in use.
For more information about these ports, see the article below:
If you are getting this error while connected to a Wide Area Network (WAN), please see the article below:
  댓글 수: 6
Ali Naeemah
Ali Naeemah 2020년 9월 26일
the software center of my university told me that the expire date of Matlab 2019a will expire on my 2020 that means now I can not use the university version right now until they update it

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

추가 답변(12개)

pronning
pronning 2017년 7월 7일
To me, the error occured when I was off-site, and the VPN to the University server was disconnected...
  댓글 수: 2
凌华 杨
凌华 杨 2020년 8월 29일
That is my cause! thanks so much

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


Wenxuan Liang
Wenxuan Liang 2021년 2월 16일
This happened to me seemingly because that nmy university has updated the license, so my old MATLAB 2017b on one long-unused computer could not start.
The solution here is simple. Assuming you have an updated license (through the University probably), simply go to the installation directory ("C:\Program Files\MATLAB\R2017b" for me), and locate "<MATLAB DIR>\bin\win64\activate_matlab.exe", and then run it to re-enter the license information.
No need to re-install MATLAB.
  댓글 수: 1
圆 李
圆 李 2021년 5월 21일
Yes,I solved my problem~

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


Asma
Asma 2017년 7월 8일
I got this problem but it was like intermittence connection. Sometimes there is no error, sometimes not ok and appears this error. Ping the hostname is successful. I don't know how to solve it.

Leonid Tulin
Leonid Tulin 2017년 10월 11일
I have that error after force-quit . Server works fine . How can i fix it ??
  댓글 수: 2
Tech Support
Tech Support 2018년 6월 6일
Hi Laurent,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

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


Anuradha Das
Anuradha Das 2018년 2월 16일
i could not open the matlab r2017a due to licence failure..kindly assist me
  댓글 수: 1
Riley Holzman
Riley Holzman 2018년 4월 24일
You have to wait for your teacher. she will tell you.

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


blue ece
blue ece 2018년 3월 8일
how i can install matlab
  댓글 수: 4
Kyle Perry
Kyle Perry 2018년 6월 20일
Hi Will,
It should not have been adjusting the port number on its own, if this happens again, please contact us so we can take a look at the issue.
Regards, Kyle Perry

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


h612
h612 2018년 5월 21일
I am using Matlab2017a from my university. I just figured out that using any network besides that of my universities', I had the license server issue. Hope that helps sm1.

Alfonso Valdes
Alfonso Valdes 2018년 10월 25일
Hi, I just migrated to Mac OS Mojave and got the license message the first time I tried to use Matlab under Mojave. The license path in the message is /Library/Application Support/MathWorks/MATLAB/R2017b_licenses:/Applications/MATLAB_R2017b.app/licenses/license.dat:/Applications/MATLAB_R2017b.app/licenses/network.lic
But if I ls from /Library/Application Support/MathWorks/MATLAB, I just see the directory R2017b and there is no license. Anyone else seeing this? Have you migrated to Mojave?
  댓글 수: 2
Kyle Perry
Kyle Perry 2019년 2월 14일
Hello Everyone,
If you are still receiving the error after trying all the steps listed above, then please contact our support team so we can assist.

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


Dhritiraj Sengupta
Dhritiraj Sengupta 2019년 7월 13일
Hello, I am having the following error. How can I fix it?
WeChat Screenshot_20190713142256.png
  댓글 수: 2
Zihao Li
Zihao Li 2021년 2월 23일
If you use a laptop from your university with Matlab installed on it, you need to connect to your university network to open Matlab. Using your university vpn may also achieve the same effect.

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


Toon Verwaest
Toon Verwaest 2020년 4월 8일
License checkout failed. License Manager Error -15
MATLAB is unable to connect to the license server. Check that the license manager has been started, and that the MATLAB client machine can communicate with the license server.
  댓글 수: 10
LAMPROS RAMMOS
LAMPROS RAMMOS 2021년 1월 21일
και πως ακριβως κατεβαζουμε το vpn του ΕΜΠ ?

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


Jacques Richou
Jacques Richou 2021년 1월 13일
Hello there,
My MatLab was working just fine last time I used it, I was not in school, but at home to try it 1st time
Next, when it did not work, I was at my girlfriends appartment when it showed me the License Error
No VPN used anywhere, and other students did not have the same issue.
I reinstalled Matlab, and it did not change anything, f someone has an idea about how to solve this, I'll take =)
Have a nice one =)

Mariusz Pawlak
Mariusz Pawlak 2021년 10월 7일 11:06
Hi,
I found that on license server manager computer must be enabled mlm.exe connection by windows firewall. That was my case, that is why I couldnt connect to license.
Regards :)

태그

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

Community Treasure Hunt

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

Start Hunting!

Translated by