YouTrack Server 2022.2 Help

Change the Port Number of the YouTrack Windows Service

When you run YouTrack as Windows service, YouTrack uses the :80 connection port, when it is available. Otherwise, YouTrack uses the first available port starting from :8080.

To change the connection port for an MSI installation:

  1. Open the Command Prompt window as an administrator.

  2. In the command line, change the directory to <YouTrack installation directory>\bin.

    The default installation directory location is C:\YouTrack.

  3. Enter the following command:

    net stop youtrack youtrack.bat configure --listen-port 1111 net start youtrack

    These commands stop the service, configure it to use a new HTTP port value (1111) and restart the service.

  4. Log in to YouTrack with an account that has Low-level Administration permission.

  5. Open the Domain Settings page and verify that the Base URL setting is correct.

Last modified: 21 September 2022