Microsoft IIS 10.0 – Configuring ports

How to set a static IP address on Windows Server 2019

In this recipe, we are going to configure the website access port; default website access type is HTTP and port number is 80. We will configure some different port to access the website for all individually hosted sites.

Getting ready

To step through this recipe, you will need a running IIS 10 server and administrator user account, which you need to edit the website settings.

How to do it…

  1. Open Server Manager on Windows Server 2016. Click on the Tools menu and open the IIS Manager.
  2. Expand the IIS server ( WIN2016IIS). We get the listed application pools and sites.
  3. We already have the listed websites, which were created earlier. Click on, you will get the properties of in the Actions pane. We can browse website on IP; here, 80 is the port number.
  1. Now we have to configure the website port 8080; the current default port is 80.
  2. Go to the Actions pane, click on Bindings, and you will get the binding window:
  1. Here you will see the Site Bindings. The Type is http, Host Name is, Port is 80, and IP address Let’s move to configure the port number 8080.
  2. Select and the edit button will be active; click on the Edit button, and you will get the Edit Site Binding window:
  1. Change the port to 8080 and then click on the OK button. Now, you can see the default port has changed:
  1. Click on the Close button, go to IIS Server, select, and you can see the URL of, showing
  1. Click on Browse on You will get your website, as shown in this figure:
  1. You can see the address bar with the URL of 8080. It means this website is being accessed through the 8080 port.

How it works..

Throughout this recipe, we configured the port of the website, which had the default port of 80. We had an overview of the default port of and added the new port 8080, after which we accessed the website from the URL through the newly added port 8080.

You can also configure a different port as per the availability of servers.

Comments are closed.