1. Home
  2. Software - Labeling
  3. Change Default IIS Port – TEKLYNX CENTRAL Instructions

Change Default IIS Port – TEKLYNX CENTRAL Instructions

Bookmark(0)

Target Audience: Advanced User, IT Manager
Article #: 9240

Summary

This Instruction Article explains how to set TEKLYNX CENTRAL (TC) to use a different port number (other than 80) for IIS. This is most frequently done due to network security concerns regarding the use of default ports.

Preparation

Perform the following before attempting to change the port:

  • Complete the install of IIS on a new server (one that has not had IIS installed before), using the required options for TC.
  • Prepare the TC Installer and PostReleaseFixes patch files, but do not execute as some changes will need to be performed after installation of IIS. Some changes will also need to be performed after installation of TC, including post release and patch files.
  • Determine the new port number.

For the purposes of this article, instead of the default port of 80, we will use port 5454. Insert the port number of your choosing as appropriate.

Instructions

1. Open up IIS manager and navigate to the Default Web Site.
2. Right-Click on the Default Web Site and select Edit Bindings… 
3. Change the port number from 80 to the desired port number.

Entering the new port number into the Site Bindings window.

4. Install TC normally and apply any necessary update
(PostReleaseFixes or patches).
5. Using a text editor, modify
C:\Program Files (x86)\Teklynx\LABELNET ClickPrint\app.config.json 

Original File:

  • “getTokenUrl”: “http://EBS-TC5:80/TCAPI/token”,
  • “getConfigUrl”: “http://EBS-TC5:80/TCAPI/api/config/clickprint”,
  • “getPrintersUrl”: “http://EBS-TC5:80/TCAPI/api/printers”,
  • “getLabelFilesUrl”: “http://EBS-TC5:80/TCAPI/api/files”,
  • “getLabelPreviewUrl”: “http://EBS-TC5:80/TCAPI/api/printing/getlabelpreview”,
  • “getLabelFileVariablesUrl”: “http://EBS-TC5:80/TCAPI/api/labelproperties/getvariables”,
  • “printLabelUrl”: “http://EBS-TC5:80/TCAPI/api/printing/print”  

Modified File:

  • “getTokenUrl”: “http://EBS-TC5:5454/TCAPI/token”,
  • “getConfigUrl”: “http://EBS-TC5:5454/TCAPI/api/config/clickprint”,
  • “getPrintersUrl”: “http://EBS-TC5:5454/TCAPI/api/printers”,
  • “getLabelFilesUrl”: “http://EBS-TC5:5454/TCAPI/api/files”,
  • “getLabelPreviewUrl”: “http://EBS-TC5:5454/TCAPI/api/preview/getlabelpreview”,
  • “getLabelFileVariablesUrl”: “http://EBS-TC5:5454/TCAPI/api/labelproperties/getvariables”,
  • “printLabelUrl”: “http://EBS-TC5:5454/TCAPI/api/printing/fileprint”

6. Using a text editor, modify C:\Program Files (x86)\Teklynx\LABELNET WebAdmin\Web.config
Original file:
  <add key=”TCApiUrl” value=”http://EBS-TC5:80/TCAPI”/>

Modified file:
  <add key=”TCApiUrl” value=”http://EBS-TC5:5454/TCAPI”/>

7. Using a text editor, modify C:\Program Files (x86)\Teklynx\LABELNET WebSite\Web.config
Original file:
  <add key=”TCApiUrl” value=”http://EBS-TC5:80/TCAPI”/>

Modified file:
  <add key=”TCApiUrl” value=”http://EBS-TC5:5454/TCAPI”/>

8. To use the new port setting, you will need to change the links to:      
http://CENTRAL01:5454/TKCentral  
http://CENTRAL01:5454/TCAdmin

Updated on October 2, 2023

Was this article helpful?

Related Articles

Need Help?
Click the link below to submit a support ticket
Submit Ticket