I have created my first self-hosted WCF service. I hosted it in a C# console app but it throws an error:
System.ServiceModel.AddressAccessDeniedException
Root path URL (http://+:8080/) permissions are needed in your case:
netsh http add urlacl url=http://+:8080/ user=%USERDOMAIN%\%USERNAME%
show all URL reservations:
netsh http show urlacl | FIND "URL"