Ports used by the license server

Ports used by the license server

Ports used by the license server

This article explains what ports are used for license servers.

The license server uses 2 ports, one external, 27000 by default, and one internal, an arbitrary number for each start for communication between the 2 processes “lmadmin/lmgrd” and the vendor daemon “BIOSOLVE” which both run on the same license server machine.

  • To specify the external port which is used to communicate with clients (the tool, e.g. SeeSAR, that should be executed), you simply append the port number at the end of the very first line (“SERVER ...“) of the license file. e.g.
    SERVER licenseserver.company.com 012345678901 34567

    to use the external port 34567 instead of the standard port 27000.

    The client then would connect to the server via 34567@licenseserver.company.com, e.g. via environment variable BIOSOLVE_LICENSE_FILE=34567@licenseserver.company.com

  • You can also specify the internal port in the “VENDOR” line of the license file by appending “PORT=<port-number>“, where <port-number> should be replaced by your desired port number. E.g.
    VENDOR BIOSOLVE PORT=27001

    to always use the internal port 27001 instead of an arbitrarily chosen port for each lmgrd session.

With the lmadmin webinterface, in fact there is a third port for accessing the webinterface. The default port is 8090, so you will reach the webinterface with the url http://localhost:8090/. You might have altered this port in the lmadmin installation procedure. If you don’t remember that port number, you will find it in the installation directory in the file conf/server.xml, search for port=”…”.

Recommendation for AWS setup

To run a license server in the AWS cloud, you have to open both ports, the external and the internal in the inbound rules of your security group.  To easily achieve this, we recommend to set the external port to 27000 and the internal to 27001, so you can cover both ports with only one “custom tcp” inbound rule for the port range “27000 – 27009”.

If you want to use the webinterface from outside, you also have to open the corresponding port as well.

Still stuck?