0

I created a new Project, ASP.net Web Application with Authorization set to Work or School.

IIS Express it works fine. Running under windows 10

But if I test it (no code written) to the Local IIS it comes back unable to connect: can't establish a connection to the server at localhost:44388. I can see the url bar go to microsoftonline, but then it redirects localhost:44388 unable to connect, I don't even get a login prompt

Is there something in IIS I need to configure?

I have no entries in my local host file.

.net Authorization is allow all users inherited

Authentication is set to Windows Authentication : Enabled all others are disabled

The virtual directory has the Network Services user on Read

I have ASP.Net 4.8, URL Authorization and Windows Authentication installed.

Firewall, and Antivirus is off.

I added to the webconfig under webserver secuirty authentication.

The registry changes from this thread didn't help either

https://stackoverflow.com/questions/7387156/unable-to-get-windows-authentication-to-work-through-local-iis

I'm not sure where to proceed. I could of swore I'd done this before on another machine on another project, and didn't need to change much of anything.

  • What browser are you using? You can check the hosts file to see if there is 127.0.0.1 localhost (no # in front of it). – Bruce Zhang Feb 02 '21 at 03:11

0 Answers0