How to Change the Security Server UI Port?
By default, the Security Server UI and REST management API run in port 4000. The port can be changed by overriding the value of the server.port property.
More information about adding command line arguments:
Instructions
Changing the port affects the Security Server UI and REST management API.
The value can be overridden by following these steps.
Open the
/etc/xroad/services/local.propertiesconfiguration file for editing.Add the below configuration to the
/etc/xroad/services/local.propertiesconfiguration file.Note: If the file already contains a row with the
XROAD_PROXY_UI_API_PARAMSvariable, append-Dserver.port=<CUSTOM_PORT>to the existing variable. No not add a second row with the same variable.XROAD_PROXY_UI_API_PARAMS=-Dserver.port=<CUSTOM_PORT>
Restart the
xroad-proxy-ui-apiservice.systemctl restart xroad-proxy-ui-api
Try to access the Security Server UI using the new port.