English

How To: Lock the vendor daemon to a specific port

Summary

Instructions provided explain how to lock the dynamic vendor daemon to a static TCP port.

Procedure

The steps provided in this article require briefly stopping the License Manager. During this time, connections to the License Manager are lost.

  1. Open the License Manager Tools at the License Manager server.

    - ArcGIS 8.x or previous is found by clicking Start > Programs > ArcGIS > License Manager > License Manager Tools.
    - ArcGIS 9.0 is found by clicking Start > Programs > ArcGIS > License Manager (9.x) > License Manager Tools.
  2. Select the radio button for Configuration using Services.
  3. Verify ESRI License Manager (ArcGIS 8.x) or ArcGIS License Manager (ArcGIS 9) is highlighted.
  4. Click the 'Start/Stop/Reread' tab. Click 'Stop Server'.
  5. Open Windows Explorer and navigate to the following path, one or more files with a .LIC extension are present in the location.

    - ArcGIS 8.x or previous: C:\Program Files\ESRI\License
    - ArcGIS 9.0: C:\Program Files\ESRI\License\arcgis9x
  6. Open the first .LIC file with a text editor, for example, Notepad. The file should look similar to this, depending on the software version.

    SERVER hostname ESRI_SENTINEL_KEY=37123456 27004
    VENDOR ARCGIS
    FEATURE ARC/INFO ARCGIS 9.0 01-jan-00 1 D850B0D8TW7F63C611QB
    vendor_info="Q99EPCSAX6R49UU2094" ck=241


    Note:
    At the end of line one, note that 27004 has been assigned as the TCP port for the lmgrd daemon.

  7. On the VENDOR line, add 'PORT=####', where #### is a specific port number designated by the user, to lock the vendor daemon to that specific port. For example:

    Code:
    VENDOR ARCGIS PORT=1234

  8. Save the .LIC file.
  9. Repeat Steps 6 through 8 in every .LIC file in the directory, using the same PORT=#### in every file.
  10. Restore the License Manager Tools and click 'Start Server'.
  11. Click 'Reread License File'.

    The vendor daemon is now static - locked to the port specified.