Skip to main content

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. 

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! 


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 :-)


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).