"FAILURE: Ports in use by other services" but Web Bridge and Web Admin are using different ports


If they are running on the same network interface, then web bridge and web admin need to be  configured to listen on different TCP ports otherwise they will fail to start with the following error message: 

cms> webadmin enable
SUCCESS: TLS interface and port configured
SUCCESS: Key and certificate pair match
FAILURE: Ports in use by other services

However, it is possible for them to fail with the same error message if they are both configured on the same network interface with different TCP ports but both services have HTTP-Redirect enabled. This means that although they have different HTTPS ports, both will try to listen on port 80 to perform a redirect to the HTTPS port and this will fail with a conflict as above.

 For example, the following configuration will fail:

cms> webbridge
Enabled                 : false
Interface whitelist     : a:443
Key file                : webbridge.key
Certificate file        : webbridge.crt
Trust bundle            : none
HTTP redirect           : Enabled
MSI download URL        : none
DMG download URL        : none
iOS download URL        : none
cms> webadmin
Enabled                 : false
TLS listening interface : a
TLS listening port      : 445
Key file                : webadmin.key
Certificate file        : webadmin.crt
HTTP redirect           : Enabled
STATUS                  : not running (not enabled)

The solution to this would be to disable HTTP redirect on one of the services (e.g. webadmin) or run the services on a different network interface - for example on an X-series server you can configure the webadmin to run on the 'admin' interface.

Last update:
21-May-2019
FAQ ID:
1191