Skip to main content
1-Visitor
December 14, 2016
Question

Mathcad license server on different TCP port

  • December 14, 2016
  • 1 reply
  • 10408 views

Hi,

I have a problem with Flexlm: I want to add Mathcad license to Flexnet Publisher server with some other licenses aleredy installed.

Flex is litening on 27000-27009 ports;

vendor daemons are listening on various ports like 2068, 2080, 2084, etc.

I want to run PTC vendor daemon (ptc_d.exe) on 2070 port:

1. I edit  license  file:

originalmodyfied

SERVER __HOSTNAME__ PTC_HOSTID=00-12-34-56-78-9A 7788

DAEMON ptc_d __PTCD_PATH__

SERVER license-server.fqdn.name HOSTID=00-12-34-56-78-9A

DAEMON ptc_d PORT=2070

2. I import license file to FlexNet Publisher - success - daemon start

But client cannot connect to server - we try to enter ports: 27000 or 2070, but it does'nt work.

What should I do?

Greetings

kB

1 reply

24-Ruby III
December 14, 2016

Hi,

Note no.1:

I hope that you do not combine FLEXnet license files received from different software vendors. I prefer to use separate FLEXnet installations for every software vendor.

Note no.2:

If you have more PTC software related to single HOST-ID, then you can get single license file from PTC. This file contains all software licenses - e.g. Creo Parametric, Creo Direct, Creo Layout, Mathcad, and so on.

Note no.3:

You can set two TCP ports - one for lmgrd/lmadmin process, second for ptc_d process

Note no.4:

When I install FLEXnet, I always use original license file. After finishing installation I made manual modification of appropriate filesand restart FLEXnet license service.

---

In case that lmgrd version is installed, I modify license.dat as shown in following lines

SERVER hpmh PTC_HOSTID=00-12-34-56-78-9A 7788

DAEMON  ptc_d  D:\PTC\flexnet\x86e_win64\obj\ptc_d.exe  D:\PTC\flexnet\licensing\ptc.opt  port=2070

---

In case that lmadmin version is installed, I modify server.xml as shown in following line

<daemon dateBasedVersion="false" dlog="false" executable="C:\PTC\flexnet\i486_nt\obj\ptc_d.exe" license="licensing/license.dat" logFile="logs/ptc_d.log" logOverwrite="false" name="ptc_d" port="2070" restartRetries="3"/>

At the moment I can't remember how to replace original 7788 port.

---

In case that lmadmin version is installed, both ports can be set via web page http://localhost:8080/dashboard?vendor=ptc_d

MH

1-Visitor
December 14, 2016

Thank you for your response.

Ad. Note 1:

Yes, I have got  (so far - without Mathcad) three different vendors on single server: Autodesk (with alot of software), LabView and MathLab. All vendors works perfectly.

d. Note 2:

So far we have Mathcad only.

Ad. Note 4:

I was made the same: only modification for hostname, file path and TCP ports.

The question is how to tell clients where is lmadmin and vendor daemon...

kB

24-Ruby III
December 14, 2016

Hi,

if I understand you well then you own Mathcad floating license. I hope you installed PTC FLEXnet on license server and when you launch ptcstatus.bat file, you can see that Mathcad license is available.

Please read attached MED-60895-EN-230_F000.pdf. If you use information included in this document, you will be able to launch following window and enter the appropriate license path information. servername = license server name (usually I launch ipconfig  /all command to see the name).

Suggestion: If Firewall is running on license server, turn it OFF temporarily. This way you will prevent blocking of Mathcad license by Firewall. Later it is possible to turn Firewall ON again and configure it properly to enable access to Mathcad license.

MH