Created
November 29, 2016 16:42
-
-
Save tdshipley/32fab5e3acd0ba9c07c2bf1a4a5d02f8 to your computer and use it in GitHub Desktop.
Examples of how to run the ASP.NET Core web server with a specified port at the command line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unix: | |
ASPNETCORE_URLS="https://*:5123" dotnet run | |
# Windows PowerShell: | |
$env:ASPNETCORE_URLS="https://*:5123" ; dotnet run | |
# Windows CMD (note: no quotes): | |
SET ASPNETCORE_URLS=https://*:5123 && dotnet run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment