1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-03-05 13:20:20 -05:00

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

Closes #4352
This commit is contained in:
Mark McDowall
2021-03-17 17:21:30 -07:00
parent d4167d7169
commit d6c0635a26

View File

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