Change the Keycloak Port
PoolParty comes with Keycloak as an authentication and authorization service. You can change the port on which Keycloak is running by modifying the relevant configuration files.
- Stop all PoolParty services: - Linux: /opt/poolparty/bin/poolparty stop 
- Windows: you have to manually stop the two services running (the - Apache Tomcatand the- Solr PoolPartyservice).- First open the Windows Start Menu and type " - Services" in the Search field. This opens the Services window listing all Windows services. Now select the respective service and right click on it to open the context menu; then click Stop to manually stop the selected service. You can also use the menu bar and the menus to stop the services. This operation requires Windows administrator rights.
 
- Open the Keycloak configuration file: - Linux: /opt/poolparty/auth_service/keycloak/conf/keycloak.conf 
- Windows: C:\opt\poolparty\auth_service\keycloak\conf\keycloak.conf 
 
- Change the port number in the - http-portproperty.- Caution- The port to which you are changing to must be free. - For example, if you want to change the port from 8181 to 8000, change it to - http-port=8000.
- If you run Keycloak in production: - rebuild Keycloak: - Linux: /opt/poolparty/auth_service/keycloak/bin/kc.sh build 
- Windows: C:\opt\poolparty\auth_service\keycloak\bin\kc.bat build 
 
- start Keycloak to verify that is starts without any problems: - Linux: /opt/poolparty/auth_service/keycloak/bin/kc.sh start 
- Windows: C:\opt\poolparty\auth_service\keycloak\bin\kc.bat start 
 
 
- Open the Keycloak configuration files for the individual PoolParty components ( - admin-keycloak.json, ppgs-keycloak.json, ppt-keycloak.json, ppx-keycloak.json):- Linux: /opt/poolparty/config/keycloak 
- Windows:C:\opt\poolparty\config\keycloak 
 
- Change the port to match the port number you specified in step 3. 
- If you run PoolParty on Linux: - Open the - poolparty.conffile: /opt/poolparty/config/poolparty.conf
- Change the port number in the - PP_auth_server_urlproperty to match the port number you specified in step 3.
 
- Start all PoolParty services: - Linux: /opt/poolparty/bin/poolparty start 
- Windows: you have to manually start the two previously stopped services (the - Apache Tomcatand the- Solr PoolPartyservice).- First open the Windows Start Menu and type " - Services" in the Search field. This opens the Services window listing all Windows services. Now select the respective service and right click on it to open the context menu; then click Start to manually start the selected service. You can also use the menu bar and the menus to start the services. This operation requires Windows administrator rights.