YouTrack Server 2024.3 Help

Configure the Network Interface Binding

By default, the Jetty servlet engine and HTTP server used in Hub bind on the 0.0.0.0 network interface. For security reasons, this action may be restricted in some environments.

You can use the configure command to change the listen-address property for your YouTrack server. Execute this command on behalf of the same OS user that runs the YouTrack service. This command creates configuration files and folders. The YouTrack service user must have permission to access the files and folders that are created by this command.

To change the network interface binding for YouTrack, follow the specific instructions for your installation type:

To customize the network interface binding for a Docker image:

  1. Stop the Hub docker container:

    docker exec <containerId> stop
  2. Run the configure command:

    docker run --rm -it -v <path to conf directory>:/opt/hub/conf \ -v <path to logs directory>:/opt/hub/logs \ jetbrains/hub:<version> \ configure --listen-address=<new network interface address>
  3. Start the Hub docker container:

    docker start <containerId>

To customize the network interface binding for a ZIP distribution:

  1. Stop the YouTrack service.

  2. Open the command-line interface supported by your operating system.

  3. In the command line, change the directory to <YouTrack installation directory>/bin.

  4. Enter the following command:

    youtrack.sh configure --listen-address=<new network interface address>

  5. Start the YouTrack service.

Last modified: 09 November 2023