Secure Your ASP.NET Core App with OAuth 2.0

This works great on dev machine and I run it using:
dotnet jkt_oAuth.dll --urls https://localhost:5001

but when I send it to the user and I try to do the same thing, it always seems to want to use localhost! Below is the approach I am using to force it to listen on a web address:
dotnet jkt_oAuth.dll --urls https://myUsersDomain.com:5001

Is there an inherent issue with using the dotnet command (with a dll) or am I just missing something. Nowhere in the code or appsettings.json is localhost mentioned.

Thanks in advance,
Kevin