Share via

Local host site can't be reached

Nikita 0 Reputation points
2023-05-15T16:39:20.3966667+00:00

When I try and access localhost on 443 port, I get ERR_CONNECTION_RESET.  
I have windows machine with windows edition as Windows Server 2019 Datacenter. My application is hosted on IIS and it has self-signed SSL certificate. I am able to access my application over web using hostname, however when I try to access application with the localhost 443 port am getting connection "The site can't be reached".

I have added firewall rule to open port 443 for the application. I can even Telnet to localhost using port 443 successfully. I have tried running Chrome with Administrator privilege's, still the same issue. I have edited my hosts file in windows\system32\drivers\etc.  

127.0.0.1       localhost
#::1             localhost

I am very unsure what to do next to resolve this issue. Any suggestion would be awesome.

Windows for business | Windows Server | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. MotoX80 37,686 Reputation points
    2023-05-17T00:28:08.7566667+00:00

    You should be getting a certificate error, because the https address name needs to match the name on the certificate.

    Check your bindings to see if you have an asterisk in the IP Address.

    User's image

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.