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:

https://docs.x-road.global/Manuals/ug-syspar_x-road_v6_system_parameters.html#6-adding-command-line-arguments

(blue star) Instructions

Changing the port affects the Security Server UI and REST management API.

The value can be overridden by following these steps.

  1. Open the /etc/xroad/services/local.properties configuration file for editing.

  2. Add the below configuration to the /etc/xroad/services/local.properties configuration file.

    1. Note: If the file already contains a row with the XROAD_PROXY_UI_API_PARAMS variable, append -Dserver.port=<CUSTOM_PORT> to the existing variable. No not add a second row with the same variable.

    2. XROAD_PROXY_UI_API_PARAMS=-Dserver.port=<CUSTOM_PORT>
  3. Restart the xroad-proxy-ui-api service.

    1. systemctl restart xroad-proxy-ui-api
  4. Try to access the Security Server UI using the new port.

(blue star) Related articles

The content by label feature automatically displays related articles based on labels you choose. To edit options for this feature, select the placeholder and tap the pencil icon.