The following command can be run to show or export a full, searchable list of website bindings in Microsoft IIS. This can be useful in high density deployments where many sites are housed on a single server and nonstandard ports are utilized.
Open an elevated, administrative command prompt on the web server.
Change the working directory to C:Windowssystem32inetsrv
Then run appcmd list site and send output to a file. In this example, the list of IIS sites is written to c:IISSiteBindings.txt
appcmd list site > c:IISSiteBindings.txt
You can browse to the txt file or open with notepad from your command prompt.
sending the appcmd command output to a file allows for easier searching. Here is example output: