Logger.Fatal(ex.Message+". This can happen if another instance of Lidarr is already running another application is using the same port (default: 8686) or the user has insufficient permissions");
Exit(ExitCodes.RecoverableFailure);
Logger.Fatal(ex.Message+". This can happen if another instance of Lidarr is already running another application is using the same port (default: 8989) or the user has insufficient permissions");
Exit(ExitCodes.RecoverableFailure,startupArgs);
}
catch(IOExceptionex)
{
if(ex.InnerExceptionisAddressInUseException)
{
System.Console.WriteLine("");
System.Console.WriteLine("");
Logger.Fatal(ex.Message+" This can happen if another instance of Radarr is already running another application is using the same port (default: 7878) or the user has insufficient permissions");