App should confirm on startup that the port it's been configured to listen on is not in use, and write an error and shut down if so. Ideally, the error message of the process name using the port so that administrators can properly review and diagnose the error when thrown.