New: Improve message if Sonarr can't bind to IP/port during startup
Closes #4352
This commit is contained in:
parent
d4167d7169
commit
d6c0635a26
|
@ -61,7 +61,7 @@ namespace NzbDrone.Host.Owin
|
||||||
|
|
||||||
if (ex.InnerException is HttpListenerException)
|
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;
|
throw ex.InnerException;
|
||||||
|
|
Loading…
Reference in New Issue