From d6c0635a263df87367f246e62f0a87df06071390 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 17 Mar 2021 17:21:30 -0700 Subject: [PATCH] New: Improve message if Sonarr can't bind to IP/port during startup Closes #4352 --- src/NzbDrone.Host/Owin/OwinServiceProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Host/Owin/OwinServiceProvider.cs b/src/NzbDrone.Host/Owin/OwinServiceProvider.cs index 6eba2af27..1bb1993db 100644 --- a/src/NzbDrone.Host/Owin/OwinServiceProvider.cs +++ b/src/NzbDrone.Host/Owin/OwinServiceProvider.cs @@ -61,7 +61,7 @@ namespace NzbDrone.Host.Owin if (ex.InnerException is HttpListenerException) { - throw new PortInUseException("Port {0} is already in use, please ensure NzbDrone is not already running.", ex, _configFileProvider.Port); + throw new PortInUseException("Unable to bind to the designated IP Address/Port ({0}:{1}). Please ensure Sonarr is not already running, the bind address is correct (or is set to'*') and the port is not used", ex, _configFileProvider.BindAddress, _configFileProvider.Port); } throw ex.InnerException;