Setting License Server Ports¶
When facing the issue of a port conflict; which can happen when you have more than one license server running on the same system, or high security protocols in place, you may need to set custom ports for either the license server(lmgrd) or the vendor daemon(thinkbox), and sometimes both. This page will show you how to set either. To find the license file see Location of Installed Files.
LMGRD¶
The default port for LMGRD is 27000, but this is also used by many other FlexLM licensed applications such as Autodesk Maya and Autodesk 3ds Max. Setting up lmgrd to use a specific port, you would need to open the license file and find the SERVER line in the file. At the end of the line you would add the port you want to use, for example:
SERVER licserver 001122334455 27008
This would tell the license server to use port 27008 instead of the default. You should make sure the port you choose to use isn’t being used by another application, and once you have saved the change to the file, you would need to restart the license server.
Thinkbox¶
The Thinkbox vendor daemon does not have a default port, but instead it’s default behavior is to use a random port each time. If you need it to use a specific port, which can become necessary if your network has strict security requirements, you can do so by adding ‘PORT=#####’ at the end of the VENDOR line like this:
VENDOR thinkbox PORT=2708
This would instruct the thinkbox vendor daemon to use the port 2708. You should make sure the port you choose to use isn’t being used by another application, and once you have saved the change to the file, you will need to restart the license server for the change to take effect.