Specify URLs using ASPNETCORE_URLS environment variable or --urls command-line argument.
ASPNETCORE_URLS
--urls