我最近将Octopus服务器的版本从2.0升级到2.4。它设法安装服务器,但不断崩溃,出现以下错误: -
System.Exception: The HTTP server could not start because namespace reservations have not been made. Ensure that the current user has access to listen on these prefixes by running the following command(s):
netsh http add urlacl url=http://+:8081/octopus/ user=test\SYSTEM
netsh http add urlacl url=http://+:8081/octopus/ user=test\SYSTEM
尝试重新安装并重新安装。
答案 0 :(得分:1)
据我所知,我可以说使用以下命令作为例子:
netsh http add urlacl url = http:// + : 8080 / user=\Everyone
您应根据需要调整端口和/或路径:
netsh http add urlacl url = http:// + : 8080/MyConsoleAppHostedService user=DOMAIN\user
netsh http add urlacl url=http:// + : 8091/MyWindowsServiceHostedService user=\SYSTEM
删除urlacl do:
delete urlacl url = https:// * : 8172/