System.ServiceModel.AddressAccessDeniedException

问题描述

System.ServiceModel.AddressAccessDeniedException: HTTP could not register URLhttp://+:8998/AutoSystemMessageService.svc/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: 拒绝访问。


解决方案

运行 CMD,执行下面的命令即可
netsh http add urlacl url=http://+:8998/AutoSystemMessageService.svc/ user="Everyone"


原文地址:https://www.cnblogs.com/abccome/p/4395420.html