Summary
This document shows how to change the communication port used by the Runtime Engine.
Question
By default LeanFT Runtime Engine uses port 5095. The default port can be changed in order to avoid possible port conflicts if required.
Answer
For this, we have two options:
Option 1:
- Click on the LeanFT Runtime Engine. A popup menu appears.
- Choose "Settings" from the menu
- The LeanFT Runtime Engine configuration file ("LFTRuntime.exe.config") will open up in the default ".config" files editor (usually Visual Studio).
- Look for a line in the file starting with something like:
<connection port="5095" - Change the number to a number representing a port that is free.
- Exit the LeanFT Runtime Engine and start it again.
Option 2:
- Locate the file "LFTRuntime.exe.config" in the "bin" folder of the LeanFT installation. It is located usually at:
Standalone LeanFT installation on 64bit OS: C:\Program Files (x86)\HP\LeanFT\bin\LFTRuntime.exe.config
Standalone LeanFT installation on 32bit OS: C:\Program Files\HP\LeanFT\bin\LFTRuntime.exe.config
UFT and LeanFT installation on 64bit OS: C:\Program Files (x86)\HP\UFT\bin\LFTRuntime.exe.config
UFT and LeanFT installation on 32bit OS: C:\Program Files\HP\UFT\bin\LFTRuntime.exe.config - Open the file in a text editor or double click it to open it in the default ".config" file extension type editor.
- Look for a line in the file starting with something like:
<connection port="5095" - Change the number to a number representing a port that is free.
- Exit the LeanFT Runtime Engine and start it again.