We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5387f3e commit 4b34dc9Copy full SHA for 4b34dc9
aspnetcore/fundamentals/host/web-host.md
@@ -245,6 +245,21 @@ WebHost.CreateDefaultBuilder(args)
245
.UseSetting("https_ports", "8080")
246
```
247
248
+### HTTP Ports
249
+
250
+Set the ports to listen on for HTTP connections.
251
252
+**Key**: http_ports
253
+**Type**: *string*
254
+**Default**: A default value isn't set.
255
+**Set using**: `UseSetting`
256
+**Environment variable**: `ASPNETCORE_HTTP_PORTS`
257
258
+```csharp
259
+WebHost.CreateDefaultBuilder(args)
260
+ .UseSetting("http_ports", "8080")
261
+```
262
263
### Hosting Startup Exclude Assemblies
264
265
A semicolon-delimited string of hosting startup assemblies to exclude on startup.
0 commit comments