How To Switch A Visual Studio Localhost Website From Https To Http

Monday 26th of May 2025 08:20 AM

The Round Table Thumbnail

One of the latest features integrated with the Visual Studio 2022 is the ability to serve your localhost websites over the secured https protocol.

So instead of the traditional http://localhost:port number over which your localhost websites are served during the development phase, Visual Studio can now render your websites over the secured https protocol. This allows developers to have more scope for testing many services that are integrated to the websites and require the website to be served over https before the service could used.

However, in some scenarios, you may not want to serve your localhost website over https protocol or feel the https version may be responsible for some bugs during debugging.

Having said that, to stop your ASPX project in Visual Studio 2022 from using HTTPS, follow these steps:

1. Project Properties:

    - Open your project properties:

    - Right-click your project in Solution Explorer > Properties.

- Go to the "Web" tab.

- Under the "Web Servers", look for the "Project URL" setting.

- Change the URL from `https://localhost:port` to `http://localhost:port`.

2. Disable SSL:

- In the same "Web" tab, look for the "SSL Enabled" setting and set it to `False` or uncheck any checkbox that speaks relatively to this.

3. Save Changes:

- Save your project properties changes.

By following these steps, your ASPX project should stop using HTTPS and use HTTP instead. If you encounter any issues, ensure you've saved your changes and try running your project again.

You can revert back to the https version by reversing all the steps given above in the Visual Studio.

How would you react to this story?
0 0

Follow us:
Follow us on WhatsApp Follow us on Facebook
Share with friends on:

Related Contents

Who Is The Newly Signed Player by Chelsea, Dario Essugo?

Profile of the Fresh Volcanic Eruption On Mount Etna

Who Is Stefon Diggs and His Recent Deal with Cardi B

Who Is Jamie Gittens That Chelsea Is Running After As Priority Signing

Which Days Were Declared Eld Al Adha Holiday By FG

Why WhatsApp Stopped Working On iPhone 6s and Some Android Phones, What To Do

Who is Xana Luis Enrique?

Full Detail On FIFA Club World Cup 2025

Why Kano Declared Monday June 2nd Public Holiday?

Is June 12 Public Holiday In Nigeria?

Load more


Hey!
You cannot submit comment on this topic because you are not currently login. You can choose to Login or Create a New Account then you are good to join the discussion.


Author
0     0     0    

Most Recent         Load More

Image NewsLetter
Icon primary
Newsletter

Subscribe to our newsletter

By clicking the button, you are agreeing with our Term & Conditions