<(UFT/Lean FT) Support Tip> Modify the port used by LeanFT
By default, LeanFT uses port 5095.
If another application on your computer needs to use that port, you can modify the port that LeanFT uses.
You must modify the port setting in all of the following locations:
LeanFT runtime server settings:
On the computer where you plan to run your test, modify the port value in the <LeanFT installation>\bin\LFTRuntime.exe.config XML file.
The app.config or leanft.project setting files of your testing projects:
In Visual Studio:
Modify the connection address setting in the app.config file referenced by your testing project, and ensure that you deploy the compiled *.config.dll together with your testing project .dll.
If you are working with a centrally maintained testing settings assembly file, update the port in that location. For details, see How do I work with an externally maintained test settings file?
Modify the connection address setting in the resources\leanft.properties file in your Eclipse project.
If you are working with a centrally maintained testing settings assembly file, update the port in that file. For details, see How do I work with an externally maintained test settings file?
For additional details on working with the testing project app.config and .properites files, see Customize LeanFT test settings
LeanFT IDE preferences:
The first time you open Visual Studio or Eclipse after installing the relevant LeanFT plugin, a file named Communication.json is created in %appdata%\Hewlett-Packard\LeanFT\Preferences\
Edit the "Port" value in this file.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”