How to specify the network ports for FLEXlm

0 Likes

Problem:

How to specify the network ports for FLEXlm

Resolution:

Information in this Brief applies to

  • All network licensing products using the FLEXlm license server

Overview

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

Details

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

e.g.

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
Comment List
Related
Recommended