HowTo Run DotNet Core App as Standalone

How to startup a net core application and specify the listening IP address and port:

exename.exe run --urls "http://192.168.1.110:6000"

Here's an alternate for starting a service that exists as a dll:

dotnet OGA.HostControl.Service.dll --urls http://192.168.1.110:6000

If the process requires more than one listening url, do this:

dotnet OGA.HostControl.Service.dll --urls http://192.168.1.110:6000;http://172.17.0.1:4180

 


Revision #2
Created 15 June 2025 02:24:15 by glwhite
Updated 6 March 2026 05:28:32 by glwhite