Fix IIS listener when changing IP address of the server

When you change the IP address of an IIS server then sometimes the listener is stuck to the old IP address. In order to change this follow the below commands.
1. To see what IP addresses is currently listen run:
netsh http show iplisten
2. To delete the address run:
netsh http delete iplisten ipaddress=X.X.X.X
3. To make the listener listen to all addresses run:
netsh http add iplisten ipaddress=
4. To make the listener listen only to a spesific address run:
netsh http add iplisten ipaddress=X.X.X.X
(where X.X.X.X is the IP address)

Leave a Reply

Your email address will not be published. Required fields are marked *

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