question

Ben Wilson avatar image
0 Likes"
Ben Wilson asked Ben Wilson answered

Custom port numbers for a license server

When we install FlexSim with Lmtools and flexsim_server.lic file, it automatically takes the port 27000 Do I want to know how I can change the port?

FlexSim 17.0.2
license serverlicensingportslicense file
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Ben Wilson avatar image
1 Like"
Ben Wilson answered

Please download the latest License Server Tools. There you find all the files required to configure a FlexSim license server. Therein you will find two license files under the folder /LicenseServer/LicenseManager/licenses/flexsim :

  • flexsim_server.lic
  • flexsim_server-customPortsExample.lic

The "customPortsExample" license file shows the format for specifying custom ports both for the license server and the vendor daemon.

In your case, you're talking about modifying the default license server port, from 27000 to some other arbitrary port number. For this example we'll use 12345:

SERVER this_host ANY 12345
VENDOR flexsim
USE_SERVER
FEATURE serverfeature flexsim 1.000 permanent uncounted HOSTID=ANY \
	SIGN="05CB 6F61 116D 06E3 A08D CAFB FC5C BEF3 DF53 BDC6 AF68 \
	060C 27B8 9968 CB94 0515 2BE7 E30C 2FAF C0D6 1D77 CCEB 878E \
	2D67 1434 0E3F 6BA5 1FDA BD35 F98D"

We changed the license server's port to 12345, and left the vendor daemon port as its default. You rarely need to worry about changing the vendor daemon port.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.