What port number should I use?
Port numbers for FlexNet licenses must be between 27000 and 27009, inclusive. Keysight Software Manager issues licenses with the port number 27009, so to avoid port number conflicts, you should typically use 27009 for all your licenses.
Port numbers are set by the license files that are installed on a license server. To view or configure the port numbers, you must have access to the license server machine. If you do not have access to the machine, contact your license server administrator for the recommended <port>@<host> that Keysight licensing client machines should use.
All the Keysight agileesofd (vendor daemon) licenses on your system must use the same port. If license files have conflicting port numbers, or if some licenses have port numbers and others do not, you will experience licensing failures.
To check and correct the port numbers in your license files, do the following on the license server machine.
First list the files in your licensing directories:
| Windows | dir C:\ProgramData\Keysight\Licensing\Licenses\Server dir C:\ProgramData\Keysight\Licensing\Licenses\Other |
| Linux | ls -al /var/opt/keysight/licensing/licenses/server ls -al /var/opt/keysight/licensing/licenses/other |
Open or view each .lic file to determine whether they all specify the same port value (between 27000 and 27009, inclusive) in their SERVER statements. The format of the SERVER statement is:
SERVER host hostid [port] [PRIMARY_IS_MASTER] [HEARTBEAT_INTERVAL=seconds]
For example, a license file with port 27009 might have the following SERVER statement:
SERVER my_server 17007ea8 27009
With no port number specified, the file might look like this:
SERVER my_server 17007ea8
If your license files have different port numbers, or if not all your license files have port numbers, choose a single port number to use (between 27000 and 27009, inclusive). Then open each license file in your preferred text editor (notepad, gedit, etc.) and modify it to specify that port number.
When you add a new license to a machine, if its port number does not match others already installed, the license installation will fail. You may see an error message explaining that the port number does not match. In this case, check the port number of your currently installed licenses, as described above, then edit the new .lic file to match. Once you have edited the license file, try adding it again.
See Also
Search key: FAQ_WHAT_PORT_NUMBER