====== 2.3 Server Settings ====== HTTP server and network configuration. ===== Change Port ===== "Kestrel": { "Endpoints": { "Http": { "Url": "http://*:8080" } } } ===== Enable HTTPS ===== "Kestrel": { "Endpoints": { "Https": { "Url": "https://*:443", "Certificate": { "Path": "cert.pfx", "Password": "secret" } } } } ===== Localhost Only ===== "Url": "http://localhost:5000" ===== All Interfaces ===== "Url": "http://*:5000" ===== Environment Variable ===== set ASPNETCORE_URLS=http://*:8080