


{"id":338535,"date":"2023-12-14T09:37:44","date_gmt":"2023-12-14T09:37:44","guid":{"rendered":"\/forum\/forums\/topic\/cannot-connect-to-license-server-system-1510032-via-public-ip-2023-r2\/"},"modified":"2023-12-29T14:03:47","modified_gmt":"2023-12-29T14:03:47","slug":"cannot-connect-to-license-server-system-1510032-via-public-ip-2023-r2","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/cannot-connect-to-license-server-system-1510032-via-public-ip-2023-r2\/","title":{"rendered":"Cannot connect to license server system. (-15,10032) via public ip (2023 R2)"},"content":{"rendered":"<p>I have problems to connect to the license server outside of our local network:<\/p>\n<p><strong>This is the setup:<\/strong><\/p>\n<ul>\n<li>The license server is hosted on a machine in place A with its own local network<\/li>\n<li>The license for the server was generated with the local hostname of the machine (myLocalHostname) and its hostid<\/li>\n<li>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)<\/li>\n<li>Also I have setup a dynDNS to get the public IP of the router of place A (myDynDNS.de)<\/li>\n<li>On my client machine I have setup the license server (in Licensing Settings 2023 R2) with port 1055 and with Server 1 = myDynDNS.de<\/li>\n<\/ul>\n<p><strong>This is what happens:<\/strong><\/p>\n<p><span style=\"text-decoration: underline\">A) I access the license from within the local network of place A but with the public ip:<\/span><\/p>\n<ul>\n<li>Menu &#8220;License servers&#8221;: Test-Button results in a green checkmark<\/li>\n<li>Menu &#8220;Feat in use&#8221; log:<\/li>\n<\/ul>\n<pre>1055@myDynDNS.de<br>------------------------------------------<br>lmutil - Copyright (c) 1989-2022 Flexera. All Rights Reserved.<br>Flexible License Manager status on Wed 12\/13\/2023 16:54<br>[Detecting lmgrd processes...]<br>License server status: 1055@myLocalHostname<br>  &nbsp; License file(s) on myLocalHostname: C:\\Program Files\\ANSYS Inc\\Shared Files\\Licensing\\license_files\\ansyslmd.lic:<br>myLocalHostname: license server UP (MASTER) v11.19.0<br>Vendor daemon status (on myLocalHostname):<br>  ansyslmd: UP v11.19.0<br>Feature usage info: &lt;list of features&gt;<\/pre>\n<p><strong>So everything works fine in the local network.<\/strong><\/p>\n<p><span style=\"text-decoration: underline\">B) I access the license from place B (outside of place As local network) with the public ip:<\/span><\/p>\n<ul>\n<li>Menu &#8220;License servers&#8221;: Test-Button results in a green checkmark <span>(so this still works)<\/span><\/li>\n<li>Menu &#8220;Feat in use&#8221; log:<\/li>\n<\/ul>\n<pre>1055@myDynDNS.de<br>------------------------------------------<br>lmutil - Copyright (c) 1989-2022 Flexera. All Rights Reserved.<br>Flexible License Manager status on Wed 12\/13\/2023 13:12<br>[Detecting lmgrd processes...]<br><span>License server status: 1055@myLocalHostname<\/span><br>  &nbsp; License file(s) on myLocalHostname: 1055@myDynDNS.de:<br>lmgrd is not running: Cannot connect to license server system. (-15,10032)<\/pre>\n<p><strong>This time it doesn&#8217;t work.<\/strong> I am wondering though why the marked line still shows &#8220;1055@myLocalHostname&#8221; and not &#8220;1055@myDynDNS.de&#8221;. It seems like &#8220;lmutil&#8221; still tries to search for the local hostname and not for the public ip.<\/p>\n<p>Any idea how to solve that problem?<\/p>\n","protected":false},"template":"","class_list":["post-338535","topic","type-topic","status-closed","hentry","topic-tag-ansys-license-manager-error-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["304318","68381"],"_bbp_author_ip":["96.7.218.223"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["3795"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["338535"],"_bbp_forum_id":["27796"],"_bbp_engagement":["68381","304318"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["338824"],"_bbp_last_active_id":["338824"],"_bbp_last_active_time":["2023-12-15 22:03:57"]},"test":"s-scholztopocare-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/338535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/338535\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=338535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}