Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 735383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:28:59+00:00 2026-05-14T07:28:59+00:00

Background – I can get HttpListener working fine for HTTP traffic. I’m having trouble

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:28:59+00:00Added an answer on May 14, 2026 at 7:28 am

    From MSDN

    If you create an HttpListener using
    https, you must select a Server
    Certificate for that listener.
    Otherwise, an HttpWebRequest query of
    this HttpListener will fail with an
    unexpected close of the connection.

    You can configure Server Certificates
    and other listener options by using
    HttpCfg.exe. See
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/http/http/httpcfg_exe.asp
    for more details. The executable is
    shipped with Windows Server 2003, or
    can be built from source code
    available in the Platform SDK.

    Not sure 100% though…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background I am working with a monad built of a stack of transformers one
Background: I have a website where people can store transactions. As part of this
Background: I've got a dev magento site that we've been working on and had
Background question: boost.proto + detect invalid terminal before building the expression tree . Hi,
Background: OS: ubuntu Web Server: apache2 What works: I can ping the server's elastic
Background I first wanted to upload a file via json and get a response
Background: I'm working through the Programming Collective Intelligence book by Toby Segaran; specifically the
Background: I'm not sure exactly how to phrase this question, so this is the
Background: I've recently found the great tool Dust-Me Selectors (https://addons.mozilla.org/en-US/firefox/addon/dust-me-selectors/) - which allows me
Background: What I need to accomplish is to remove any records in a collection

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.