SCIM Server 1.0 (PACLI) - "Unable to start server, shutting down" error during Idira SCIM Server service startup
Symptom
SCIM Server startup fails with the following error in CAScimServer-STDOUT.log file:
[05/20/2024 10:14:58] Scheduler started.
[05/20/2024 10:14:58] Starting CAScimServer
[05/20/2024 10:14:58] Opened application@426abed4{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[05/20/2024 10:14:58] Unable to start server, shutting down
java.lang.RuntimeException: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8081
Environment
Older Credential Providers Central Credential Provider
SCIM Server 1.0 (PACLI)
Cause
Based on the error, port 8081 is already being used by another application or binding.
Use this command to check the corresponding process / application using port 8081:
netstat -anob | findstr 8081
The Process ID (PID) should be listed by above command, which can be used to find the corresponding application / process in Task Manager.
Resolution
Either stop the identified service or process utilizing the port in question, or configure SCIM Server to use other free ports. Example of config.yml highlighting custom port configuration (8070 and 8071 in this case):
server:
applicationConnectors:
- type: http
port: 8070
adminConnectors:
- type: http
port: 8071