.NET HttpListener - no traffic when listening to "https://*.8080" when browser proxy is set???

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-04-15T00:10:25Z Indexed on 2010/04/15 0:13 UTC
Read the original article Hit count: 646

Filed under:
|
|
|
|

Hi,

Background - I can get HttpListener working fine for HTTP traffic. I'm having trouble with HTTPS traffic however.

QUESTION: How can I change the code below so that a browser request to a "https" URL will actually be picked up by my HttpListener?

Notes - At the moment with firefox's proxy settings set to "localhost:8080", when I listen to traffic on port 8080 ("https://*:8080/"), and I enter a HTTPS url in firefox, I am getting no traffic being picked up? (when I listen to just http and enter normal http url's it works fine)

  _httpListener = new HttpListener();
  _httpListener.Prefixes.Add("https://*:8080/");
  _httpListener.Start();

thanks

© Stack Overflow or respective owner

Related posts about https

Related posts about httplistener