Make ports 80 and 443 listened in IIS server

This post has been republished via RSS; it originally appeared at: IIS Support Blog articles.

We use bindings in IIS in order to host websites and match the request with applications. For example, a bind can tell IIS make MySite accessible on port 80 via HTTP protocol. In this case, IIS will display MySite when you browse to the server IP address or the website hostname.

 

However, the website may not be accessible even though you have the correct binding. I came across to this issue recently in which F12 Developer Tools showed “Aborted” for the request.

 

Solution

Check which ports are being listened in the server. Run the command below in Command Prompt. This command lists the ports the server listens to.

netstat -an -p TCP | find /I "listening"

 

clipboard_image_0.jpeg

If you don’t see port 80 or 443 in the output, run the netsh following commands and check if there is an explicitly entry in HTTP listener. If there is, you should remove it.

netsh http show iplisten

 

In order to remove explicit entries, run the following command (in netsh http> mode). Make sure that the IP address is as the same as the one showed up in the output.

delete iplisten ipaddress=127.0.0.1

 

Once you list IP addresses again, there shouldn’t be any entry:

clipboard_image_1.jpeg

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.