Reserve all addresses for port

This commit is contained in:
flightlevel
2018-07-02 21:09:42 +10:00
parent bcc1dc1948
commit 00e4e8109e
2 changed files with 8 additions and 23 deletions

View File

@@ -279,7 +279,7 @@ namespace Jackett.Server.Services
if (doInstall)
{
logger.Debug("Reserving Urls");
config.GetListenAddresses(config.AllowExternal).ToList().ForEach(u => RunNetSh(string.Format("http add urlacl {0} sddl=D:(A;;GX;;;S-1-1-0)", u)));
config.GetListenAddresses(true).ToList().ForEach(u => RunNetSh(string.Format("http add urlacl {0} sddl=D:(A;;GX;;;S-1-1-0)", u)));
logger.Debug("Urls reserved");
}
}