Answer only on port 443 (HTTPS)

I have adjusted IIS to only bind to port 443. Yet when I go to HTTP (port 80) I get a 404 error which must be being returned by IIS. I expected "site cannot be reached". How do I accomplish this? It is throwing a vulnerability issue. I do not have any rewrite module in place.

Additionally when I telnet to port 80 on that machine I cannot connect (or it seems that way).

Even when I stop the w3svc service, I get a 404 response when I browse to the server.



Read more here: https://stackoverflow.com/questions/68459280/answer-only-on-port-443-https

Content Attribution

This content was originally published by Jon Glazer at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: