Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Is netsh http add urlacl still required for HTTPS port binding with the integrated Kestrel web server
-
Hi,
Using Proget 2026 with Postgres and Kestrel.
The HTTPS Support docs say that binding the integrated web server to a port below 1024 requires a URL reservation
https://docs.inedo.com/docs/installation/windows/web/https-support#https-binding-to-a-port-recommendedExample:
netsh http add urlacl url=https://*:443/ user="NETWORK SERVICE"My understanding is that URL reservations (urlacl) only apply to HTTP.sys listeners (HttpListener/IIS).
Since the integrated web server now runs on Kestrel and not IIS, the reservation isn't needed.
Is that correct, and is the urlacl step a leftover from the earlier HttpListener/IIS-based server? -
Hi @forbzie22_0253,
Unfortunately, this is still required. By default on Windows, HTTP.sys reserves all ports below port 1024. The
netsh http add urlacl url=https://*:443/ user="NETWORK SERVICE"tells HTTP.sys that NETWORK SERVICE can register port 443 and listen to all traffic on it bypassing HTTP.sys.If you specified a domain,
https://my-domain.com:443instead ofhttps:://*:443, then HTTP.sys will handle all traffic but will allow NETWORK SERVICE to subscribe at that domain. HTTP.sys will still handle all traffic though. That will then cause the integrated web server (IWS) to use HTTP.sys instead of Kestrel, which is why we recommend the port binding method. This is all outside of IIS. That reason is also we added documentation on how to Use IIS as a reverse proxy.Hope this helps!
Thanks,
Rich
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login