FAQ – How can I set FlexLM port numbers statically – KB
Flexnet / FlexLM ports numbers may be set statically by declarations made in the FlexLM license file. When remain undeclared, these ports would be set randomly every time the license manager is started.
1. In order to set the port connecting the license manager with the installed applications:
On the server side, on the license file (<license>.lic), add a port number to the end of the SERVER line, e.g.:
SERVER <ServerName> <HostId> <PortNumber>
On the client side, on the <license>.dat file add the same number to the end of the SERVER line, e.g.:
SERVER <ServerName> ANY <PortNumber>
2. In order to set the license manager to interface the Vendor over a predefined static port number, add this number in the end of the VENDOR line, in the license file on the license server machine, e.g.:
VENDOR <VendorName> PORT=<VendorPortNumber>
In order for these changes to take affect, you would need to reread the license file. You may do that by clicking the “Reread License file” button, under the “Start/Stop/Reread” tab in Flexera’s LMTOOLS application.
The OpenLM license monitoring tool interfaces these ports in order to extract license statistics, and reliable license usage reports.