Using Custom Ports
IISÂ
When the web site won't start - it may be because another process is already using the default port 80. If the application using it is valid you will need to use a different port by changing the binding of the website in IIS. Then you will access the website by specifying the custom port in the url. Example localhost:8082
Error
You will get an  error code 0x80070020 which translates to ERROR_SHARING_VIOLATION (The process cannot access the file because it is being used by another process.)
Resolution
Run the following command from a command prompt to find the PID of the process which is using TCP port 80 and/or 443.Â
              netstat -aon | find ":80"
              netstat -aon | find ":443"
You will see an output similar to the following. Remember the actual PID will vary from case to case.Â
              TCP   0.0.0.0:80            0.0.0.0:0             LISTENING      3604
        TCP   0.0.0.0:443          0.0.0.0:0             LISTENING      3320
Now using Task Manager you can easily find out to which process the above PID belongs and take appropriate action.Â
MySQL
NOTE: not well supported by readers - see the Readers section below for more details.
If another application is already using the default port 3306 for MySQL Server then you can install MySQL configured to use a different port. Example 3308.
Readers
The use of a custom port is not widely supported by chameleon reader apps at this time (Sept, 2018). There are only a few that currently allow the port to be customized including weather readers and blade runner. To troubleshoot Reader Ports accessing the outside world, visit THIS article.
Flow
To install Flow using a custom port - specify it by appending a colon and the port number to the database hostname/ip address when prompted at the database config step of the installer.
Example: localhost:3308  or  142.54.321.45:3308