Home > database >  Why do my local debug websites always open in Internet Explorer?
Why do my local debug websites always open in Internet Explorer?

Time:06-15

I have two entirely separate web apps that display the same behavior on Windows 10. One is an Angular 8/nodejs 16 app that I can serve locally with ng serve. The 2nd is an older ASP.NET site that I build/run locally via Visual Studio. The behavior is this:

If I try to access the local website via localhost in Chrome or Edge, the site is immediately opened instead in Internet Explorer. Attempting to open in Firefox, however, is successful.

I recently upgraded computers and am only experiencing this on the new machine. I have been unable to identify what could be causing this. Windows default browser is set to Chrome.

CodePudding user response:

In your computer, change your default web browser as: settings-->default apps-->web browser

CodePudding user response:

Figured it out...it's an IT policy that has the respective browsers always open specific URLs in IE--in this case, localhost. I was able identify this by videoing the screen and noticing a message that popped up for only a few milliseconds:

Your system administrator has configured Google Chrome to open Internet Explorer to access localhost.

With that error, I found this question on SO with the answer.

  • Related