🎉 We're happy to announce new public releases 🎉

  • TriCore v6.3r1 Inspector - v1.0r9 - A family of tools that provide an automated method for identifying toolset issues in compiled output code
  • VX-toolset for RH850 - v5.0r1 - Industry’s First End-to-End Compile, Debug and Test Toolchain for Renesas RH850 Microcontrollers
  • VX-toolset for TriCore - v6.4r1 - Software development environment of certified compiler toolsets for Infineon AURIX TC2xx/TC3xx microcontrollers
Contact us to get access

LDRA Test tools: Configuring ports

10-Jun-2026

The FlexLM server uses two ports to communicate. 

  • First available port between 27000 and 27009
  • Randomly selected every time the server is restarted. 


You can obtain the current port number by inspecting the ldra.log file. This log file is located in the same directory as your license.dat. For networked licenses, this log file is located on the server only.


Steps

These ports can be specified by editing the license.dat file.

1. Stop the license server to change the ports used.

2. Run:

  • Windows: Stop_licenseserver.ba
  • Linux: Stop_licenseserver.sh

 3. Add the first port to the SERVER line:

SERVER fangtooth 123aaa456bbb 27005


4. Add the second port to the VENDOR line:

VENDOR LDRA port=1234


 5. Start the server and view the ldra.log file to view the updated ports.


Example:

11:04:13 (lmgrd)
11:04:13 (lmgrd)
11:04:13 (lmgrd) Server's System Date and Time: Thu Jul 16 2020 11:04:13 GMT Daylight Time
11:04:13 (lmgrd) pid XXXXX
11:04:13 (lmgrd) SLOG: Summary Log statistics is enabled.
11:04:13 (lmgrd) Done reading
11:04:13 (lmgrd) FlexNet Licensing (v11.15.0.0 build 215548 i86_n3) started on [HOSTNAME] ([SYSTEM]) (7/16/2020)
11:04:13 (lmgrd) Copyright (c) 1988-2017 Flexera Software LLC. All Rights Reserved.
11:04:13 (lmgrd) World Wide Web: http://www.flexerasoftware.com
11:04:13 (lmgrd)
11:04:13 (lmgrd) lmgrd tcp-port 27005
11:04:13 (lmgrd) ==========================================
11:04:13 (lmgrd) lmgrd started

11:04:13 (lmgrd-SLOG) === LMGRD ===
11:04:13 (lmgrd-SLOG) Start-Date: Thu Jul 16 2020 11:04:13 GMT Daylight Time
11:04:13 (lmgrd-SLOG) PID: XXXXX
11:04:13 (lmgrd-SLOG) LMGRD Version: v11.15.0.0 build 215548 i86_n3 (build 215548 (ipv6))

11:04:13 (lmgrd-SLOG) === Network Info ===
11:04:13 (lmgrd-SLOG) Listening port: 27005

11:04:13 (lmgrd-SLOG) === Startup Info ===
11:04:13 (lmgrd-SLOG) Is LM run as a service: No
11:04:13 (lmgrd-SLOG) Server Configuration: Single Server
11:04:13 (lmgrd-SLOG) Command-line options used at LM startup: -c license.dat -l ldra.log
11:04:13 (lmgrd-SLOG) lmgrd license file(s) used: license.dat

11:04:13 (lmgrd-SLOG) ==========================================
11:04:13 (lmgrd) SLOG: FNPLS-INTERNAL-VL1-4096

11:04:13 (lmgrd) Starting vendor daemon at port 1234
11:04:13 (lmgrd) Using vendor daemon port 1234 specified in license file

11:04:15 (lmgrd) Started [VENDOR_DAEMON] pid XXXX

11:04:15 ([VENDOR_DAEMON]) SLOG: Summary Log statistics is enabled.
11:04:15 ([VENDOR_DAEMON]) SLOG: FNPLS-INTERNAL-CKPT1
11:04:15 ([VENDOR_DAEMON]) VM Status: 0
11:04:15 ([VENDOR_DAEMON]) SLOG: FNPLS-INTERNAL-CKPT5
11:04:15 ([VENDOR_DAEMON]) VM Status: 0
11:04:15 ([VENDOR_DAEMON]) SLOG: FNPLS-INTERNAL-CKPT6

11:04:15 ([VENDOR_DAEMON]) Server started on [HOSTNAME] for:
11:04:15 ([VENDOR_DAEMON]) [PRODUCT_NAME] (consisting of: [COMPONENT_NAME]


Was this answer helpful?