We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Cannot connect to license server system. (-15,10032) via public ip (2023 R2)

    • Se Scholz
      Subscriber

      I have problems to connect to the license server outside of our local network:

      This is the setup:

      • The license server is hosted on a machine in place A with its own local network
      • The license for the server was generated with the local hostname of the machine (myLocalHostname) and its hostid
      • To access the license server from outisde of place A I have forwared the ports for ansyslmd (static configured port 50725), lmgrd (1055) and the ANSYSLI_PORT (2325) in the router of place A (and of course in the Windows firewall of the machine)
      • Also I have setup a dynDNS to get the public IP of the router of place A (myDynDNS.de)
      • On my client machine I have setup the license server (in Licensing Settings 2023 R2) with port 1055 and with Server 1 = myDynDNS.de

      This is what happens:

      A) I access the license from within the local network of place A but with the public ip:

      • Menu "License servers": Test-Button results in a green checkmark
      • Menu "Feat in use" log:
      1055@myDynDNS.de
      ------------------------------------------
      lmutil - Copyright (c) 1989-2022 Flexera. All Rights Reserved.
      Flexible License Manager status on Wed 12/13/2023 16:54
      [Detecting lmgrd processes...]
      License server status: 1055@myLocalHostname
        License file(s) on myLocalHostname: C:\Program Files\ANSYS Inc\Shared Files\Licensing\license_files\ansyslmd.lic:
      myLocalHostname: license server UP (MASTER) v11.19.0
      Vendor daemon status (on myLocalHostname):
      ansyslmd: UP v11.19.0
      Feature usage info:

      So everything works fine in the local network.

      B) I access the license from place B (outside of place As local network) with the public ip:

      • Menu "License servers": Test-Button results in a green checkmark (so this still works)
      • Menu "Feat in use" log:
      1055@myDynDNS.de
      ------------------------------------------
      lmutil - Copyright (c) 1989-2022 Flexera. All Rights Reserved.
      Flexible License Manager status on Wed 12/13/2023 13:12
      [Detecting lmgrd processes...]
      License server status: 1055@myLocalHostname
        License file(s) on myLocalHostname: 1055@myDynDNS.de:
      lmgrd is not running: Cannot connect to license server system. (-15,10032)

      This time it doesn't work. I am wondering though why the marked line still shows "1055@myLocalHostname" and not "1055@myDynDNS.de". It seems like "lmutil" still tries to search for the local hostname and not for the public ip.

      Any idea how to solve that problem?

    • George Karnos
      Ansys Employee

      Check the SERVER line in the license file.
      Stop the ANSYS License Manager
      Change it from local hostname to 127.0.0.1 or localhost.

      SERVER 127.0.0.1 hostid  1055

      Restart the License Manager

    • Se Scholz
      Subscriber

      Thank you very much that finally solved it. 127.0.0.1 didn't work but localhost did the trick.

Viewing 2 reply threads
  • The topic ‘Cannot connect to license server system. (-15,10032) via public ip (2023 R2)’ is closed to new replies.