Cannot set StoreFront HTTP Port on DDC, if it was used for HTTPS before

Cannot set StoreFront HTTP Port on DDC, if it was used for HTTPS before

book

Article ID: CTX581120

calendar_today

Updated On:

Description

Error when StoreFront HTTP port is set on DDC, if the same port was set for HTTPS previously. We start getting this event logged.

Source: Citrix Broker Service
ID: 2014
General: One of the XML ports is in use by another process. Unable to listen for XML requests on the Citrix Broker Service. To change the port used by the Citrix Broker Service, run BrokerService.exe -StoreFrontPort -StoreFrontTlsPort on the appropriate Controller.


Steps to reproduce:
1. Change the StoreFront HTTPS port on DDC

BrokerService.exe -StoreFrontTlsPort 10080
2. Change it back to 443 or a different port
BrokerService.exe -StoreFrontTlsPort 443
3. Change the StoreFront HTTP port to the same port which was set for HTTPS
BrokerService.exe -StoreFrontPort 10080

Resolution

Delete the existing bindings before adding them for HTTP.

1. Run this command to list all the URL ACLs for the port.

netsh http show urlacl | findstr 10080

2. This usually lists 4 URLs, which needs to be deleted.

netsh http delete urlacl https://+:10080/scripts/wpnbr.dll/
netsh http delete urlacl https://+:10080/scripts/ctxadmin/ctxadmin.dll/
netsh http delete urlacl https://+:10080/scripts/ctxsta.dll/
netsh http delete urlacl https://+:10080/scripts/ctxmcp.dll/


Once these bindings are deleted the port can be used for HTTP.


Problem Cause

HTTPS bindings do not get deleted from the URL ACL when changes are reverted.