- Open Windows Firewall Advanced Settings from Windows Control Panel
- Click on Inbound Rules
- Click on New Rule
- Select Port and press Next
- Leave selection under TCP
- Specify ports for LMGRD and MLM separated by a comma (these ports should be specified in license.dat on your server)
- On the following screen make sure to Allow the connection and press Next
- Leave everything checked on the next screen (recommended)
- Name the rule anything you'd like and Click Finish
- Repeat the same process for Outbound rule, making sure that the connection is allowed (it will default to block so you will have to change it)
How do I configure Windows Firewall to allow Network License Manager communication?
40 views (last 30 days)
Show older comments
MathWorks Support Team
on 9 Apr 2015
Edited: MathWorks Support Team
on 1 Apr 2021
How do I configure Windows Firewall to allow Network License Manager communication?
Accepted Answer
MathWorks Support Team
on 1 Apr 2021
Edited: MathWorks Support Team
on 1 Apr 2021
If you are running the network license manager within an environment with a firewall, you will first need to follow the steps at the support article below. This will show you how to set a static port for the MLM portion of the license manager. By default, the MLM process will use a random port each time the license manager is started. You will need to set it to use a static port each time the license manager starts before you can create firewall rules. Please look at the support article below in order to do that:
Can the Network License Manager be configured to work inside a firewall?
After following the instructions above for your license manager, these steps will show you how to set the Windows Firewall options to allow the communication for the license manager through the Windows Firewall:
To configure Windows Firewall to allow communication to and from a network license manager system, follow these steps:
For assistance configuring the network license manager to work within firewall you should first review the following page:
http://www.mathworks.com/matlabcentral/answers/92581
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!