How to specify the network ports for FLEXlm

How to specify the network ports for FLEXlm


How to specify the network ports for FLEXlm


Information in this Brief applies to

  • All network licensing products using the FLEXlm license server


This article describes the steps to specify the ports that FLEXlm shall use.


FLEXlm uses a set of TCP ports, one for lmgrd process and one for the vendor daemon "borland".

The lmgrd port number is by default between 27000-27009. This port can be specified when generating the network license files at the Borland hosting website.

For the vendor daemon "borland", the port numbers are chosen by the OS at runtime, and this is different each time. Since a firewall requires a fixed port number, FLEXlm allows the administrator the option of fixing these port numbers

- Using a text editor e.g. notepad, open up the license_xxxx.dat
- Append the line VENDOR borland with the keyword port and the desired port number


VENDOR borland port=xxxx

where xxxx is the desired port number.

- Save the file and restart the FLEXlm license server.

Once the server is started, the log file should show that the vendor daemon is started at the specified port.

16:00:07 (lmgrd) lmgrd tcp-port 27000
16:00:07 (lmgrd) Starting vendor daemons ...
16:00:07 (lmgrd) Starting vendor daemon at port 1234
16:00:07 (lmgrd) Using vendor daemon port 1234 specified in license file
16:00:07 (lmgrd) Started borland (pid 3560)

So in the above example, the firewall administrator will need to open up ports 27000 and 1234.

Old KB# 16851


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:35
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.