Inhaltsverzeichnis
2.3 Postavke poslužitelja
HTTP poslužitelj i mrežna konfiguracija.
Promjena porta
"Kestrel": { "Endpoints": { "Http": { "Url": "http://*:8080" } } }
Aktiviranje HTTPS-a
"Kestrel": { "Endpoints": { "Https": { "Url": "https://*:443", "Certificate": { "Path": "cert.pfx", "Password": "tajna" } } } }
Samo localhost
"Url": "http://localhost:5000"
Sva sučelja
"Url": "http://*:5000"
Varijabla okruženja
set ASPNETCORE_URLS=http://*:8080
Zuletzt geändert: 29.01.2026. u 23:22