Skip to main content
Solved

Indicium port 5000 setting

  • December 19, 2022
  • 3 replies
  • 64 views

Tejo van de Bor
Captain
Forum|alt.badge.img+5

Hi everyone,

We want to run our end application with Indicium running as a service without IIS, it’s default available at port 5000

Is it possible to set it to another port as it may conflict with other services. 

Best answer by Dick van den Brink

You can change the port to 5002 for example with the following command:

dotnet .\Indicium.dll --urls=http://*:5002

Let me know if it helps! 

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

3 replies

Forum|alt.badge.img+3

You can change the port to 5002 for example with the following command:

dotnet .\Indicium.dll --urls=http://*:5002

Let me know if it helps! 


Tejo van de Bor
Captain
Forum|alt.badge.img+5

Wow @Dick van den Brink , thanks, this works! Do you know if this can be set in the appsettings.json or anything else? 

Could not find anything in documentation or community. Now I’m curious if there are more indicium.dll startup parameters :-)


Forum|alt.badge.img+3

We use .NET Core with the Kestrel webserver.

It seems you can also change it from your appsettings.json with this configuration:

  "Kestrel": {
    "Endpoints": {
      "Http": {
        "Url": "http://*:5007"
      }
    }
  }

More configuration options are here: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?source=recommendations&view=aspnetcore-7.0#replace-the-default-certificate-from-configuration

And some others are documented here: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/options?view=aspnetcore-7.0

But I would not recommend changing to much settings - as it might have side effects and might make troubleshooting of issues more difficult (if it is caused by these kind of settings).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings