I want to use HttpListener for creating small https server listening on my custom port with self-signed certificates.
I followed some tutorials and I can create Https server by using HttpListener But I must use admin rights for:
I'd like to setup Https without admin rights. I know I can use TcpListener. With TcpListener I should only import CA certificate in my personal store. It doesn't require admin rights. But there is need to parse http request manually.
Is there any way to setup HttpListener without admin rights? Or use parser on tcp listener?
You need to grant permissions to the particular URL, for example:
netsh http add urlacl url="http://+:4200/" user=everyone
please note the Documentation .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.