Skip to main content
Nintex Community Menu Bar

Topic

The K2 Configuration Service is running on port 5000 and not on port 5560. This can be seen from the K2 Configuration Service log found in {K2 Installation Folder}\SourceCode.Configuration.Api\Logs\.

 

>INF] Starting Service Manager.
>INF] Now listening on: http://localhost:5000
>INF] Application started. Hosting environment: Staging; Content root path: C:\Program Files\K2\SourceCode.Configuraiton.Api\

 

This can be caused by having either of the following Windows Environment Variables to have a value that is not equal to 'PRODUCTION':

  • DOTNET_ENVIRONMENT
  • ASPNETCORE_ENVIRONMENT

 

You may verify this using the steps below:

  1. Open Control Panel and go to System and Security > System
  2. Click on Advanced system settings
  3. Under the Advanced tab, click on Environment Variables...
  4. Check for the variable under System variables


Instructions 

If any of the variables listed are present, please delete them:

  • DOTNET_ENVIRONMENT
  • ASPNETCORE_ENVIRONMENT

 

The variable can be deleted following the steps below:

  1. Open Control Panel and go to System and Security > System
  2. Click on Advanced system settings
  3. Under the Advanced tab, click on Environment Variables...
  4. Select the variable to be deleted under System variables
  5. Click on the Delete button
  6. Restart the K2 Configuration Service


Be the first to reply!

Reply