This article describes how to change the Secure Ticketing Authority (STA) port number from 80 to any other port available.
Occasionally, for security reasons, the administrator has to close port 80 on the firewall between the first demilitarized zone (DMZ) and the LAN where the STA is situated. The STA port then must be changed to cross the firewall.
STA uses the same port as the XML Service.
To update the STA port, you must complete the following procedure:
To modify the XML server, complete the following procedure:
Open the command prompt.
Run the following command to unregister the xml service:
ctxxmlss /u
Run the following command to register the xml service to the new port:
ctxxmlss /rXXXX
Note: xxxx represents the new port number.
Open the services console.
Locate the citrix xml service.
Highlight and right-click on the xml service.
Select Start.
To modify the Secure Gateway Server, complete the following procedure:
Open the Secure Gateway Configuration Wizard.
Go to the Details of the server running the Secure Ticket Authority (STA) section.
Highlight the STA server in the list and select Modify.
In the Protocol settings, clear the Use default and specify your designated port in the TCP port check box.
Click OK.
To modify the Web Interface Server, complete the following procedure:
Open Web Interface Management.
Highlight the required site name that must be modified.
In Xepp-Edit Settings, click Server Farms.
Highlight the farm and select Edit.
In the XML Service Port field, enter the new port number.
Click OK.
If the STA server is also used as a Web server for different Web sites, then you must indicate the new port number in each user HTTP addresses because Internet Explorer or the Web browser assumes that the HTTP port is 80.
To avoid this issue, complete the following procedure to create a new Web site for the STA component:
Note: For this section, it is assumed that the STA server is published on port 80.Open the IIS snap-in.
Right-click the server name and choose New Web Site.
Provide a name to the Web site, for example, STA and click Next.
Change the port for the Web site as 6556 and click Next.
Browse to locate the c:\inetpub\wwwroot folder and click Next.
The Permission is selected by default. Click Next.
Click Finish.
Right-click the STA Web site you created and choose new virtual directory.
Type scripts as the alias name and click Next.
Browse to locate the c:\inetpub\scripts folder and click Next.
Clear all the check boxes to remove the permissions. Click Next.
Click Finish.
Right-click the Scripts folder and select Properties.
From the Virtual Directory tab, select Scripts and executables from the list of options for Execute permissions.
Click Apply and click OK.
Restart IIS.