Allow traffic in fixed TCP/IP ports
You need to modify the firewall settings to allow traffic through fixed TCP/IP port.
To allow traffic in fixed TCP/IP ports in Windows on the license server computer:
-
Ensure that no other software or service is using the ports that you are about to set fixed.
Use the command line command
netstat -anp TCP
to find out which ports are in use.The numbers in the Local Address column after the colon (:) are the port numbers that are in use.
-
Browse for
tekla.lic, and open it using a text editor.
By default, the path is ..\Tekla\License\Server.
-
To set a fixed port for
lmgrd.exe, enter the TCP/IP port number at the end of the
SERVER row.
The Automatic installation option sets the port to 27007.
-
Enter the text
port=free_port at the end of the
VENDOR row, for example,
port=1234.
Defining the TCP/IP port number on the VENDOR row may slow down the restart time of Tekla Licensing Service.
- Save the changes and close tekla.lic.
-
Update your license server with the changes:
- Go to Tekla Licensing > LMTOOLS through the Start menu or Start screen, depending on your Windows operating system.
-
On the
Service/License File tab, ensure that
Configuration using services and Tekla Licensing Service are selected.
- Go to the Start/Stop/Reread tab and click Stop Server to stop the license server, and then start the server again by clicking Start Server.
- Click the Windows logo key on your keyboard to show the Start menu or Start screen, depending on the operating system.
-
Type
wf.msc and press
Enter.
The Windows Firewall with Advance Security MMS snap-in is displayed.
-
In the navigation tree, select
Inbound Rule, and then in the
Actions pane, click
New Rule.
-
On the
Rule type panel, select
Port and then click
Next.
-
On the
Protocol and Ports panel, select
TCP, enter the TCP/IP port numbers that you set in steps 3 and 4 in
Specific local ports, and then click
Next.
-
On the
Action panel, select
Allow the connection, and then click
Next.
-
On the
Profile panel, select the appropriate profiles, and then click
Next.
-
On the
Name panel, enter the name of the rule, and then click
Finish.