New: Improve message if Sonarr can't bind to IP/port during startup

Closes #4352
pull/4397/head
Mark McDowall 4 years ago
parent d4167d7169
commit d6c0635a26

@ -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;

Loading…
Cancel
Save