diff --git a/aspnetcore/fundamentals/servers/kestrel.md b/aspnetcore/fundamentals/servers/kestrel.md index 8094010a1c..5472573d72 100644 --- a/aspnetcore/fundamentals/servers/kestrel.md +++ b/aspnetcore/fundamentals/servers/kestrel.md @@ -4,7 +4,7 @@ author: guardrex description: Learn about Kestrel, the cross-platform web server for ASP.NET Core. ms.author: tdykstra ms.custom: mvc -ms.date: 02/13/2019 +ms.date: 03/04/2019 uid: fundamentals/servers/kestrel --- # Kestrel web server implementation in ASP.NET Core @@ -411,6 +411,17 @@ By default, ASP.NET Core binds to: * `http://localhost:5000` * `https://localhost:5001` (when a local development certificate is present) +Specify URLs using the: + +* `ASPNETCORE_URLS` environment variable. +* `--urls` command-line argument. +* `urls` host configuration key. +* `UseUrls` extension method. + +The value provided using these approaches can be one or more HTTP and HTTPS endpoints (HTTPS if a default cert is available). Configure the value as a semicolon-separated list (for example, `"Urls": "http://localhost:8000;http://localhost:8001"`). + +For more information on these approaches, see [Server URLs](xref:fundamentals/host/web-host#server-urls) and [Override configuration](xref:fundamentals/host/web-host#override-configuration). + A development certificate is created: * When the [.NET Core SDK](/dotnet/core/sdk) is installed. @@ -424,7 +435,7 @@ Call calls `serverOptions.Configure(context.Configuration.GetSection("Kestrel"))` by default to load Kestrel configuration. A default HTTPS app settings configuration schema is available for Kestrel. Configure multiple endpoints, including the URLs and the certificates to use, either from a file on disk or from a certificate store.