Why do I receive MathWorks Licensing Error 17?
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 10 Nov 2011
Edited: MathWorks Support Team
on 13 May 2025
Why do I receive the following error when I try to launch MATLAB:
MathWorks Licensing Error 17. A licensing error occurred while trying to use <PRODUCTNAME>. Unable to communicate with your organization's license server.
Accepted Answer
MathWorks Support Team
on 13 May 2025
Edited: MathWorks Support Team
on 1 Sep 2022
This error is most likely due one of the following reasons:
1. There is an error in the license.dat file
Make sure that both the hostname and port number in the SERVER line of your license file are correctly listed.
2. There is an issue communicating with the license server.
The client machines must be able to "see" the network license manager. Please verify that the server can be resolved from the client machine by running the following command:
tracert $license_server
(where $license_server is the name of your license server as it appears in the license file)
The name of your license server will be found in the SERVER line of your license file immediately after the word SERVER.
3. There is a port conflict with the license manager.
Make sure that the port number in the SERVER line in the license file on the client matches the one on the license server. If they do match, make sure the port is valid and not in use by another application. To determine if the port address is available:
On Linux or UNIX, type the following command in your terminal:
netstat -P tcp
On Windows, type the following command into Command Prompt or DOS prompt:
netstat -p tcp
The Foreign or Remote Address column contains a list of machine names or IP addresses followed by a period or colon and then a port number. If the local machine is on this list, then the port number listed is being used.
0 Comments
More Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!