ServiceHost.Open()
is throwing this error:
HTTP could not register URL http://+:8001/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).
So I used netsh to add the url. But event though it is added, i'm still getting the error. This is the command I use:
netsh http add urlacl url=http://+:8001/ user=djerryy
djerryy
is my computername. When I run netsh http show urlacl i see it was added.
What am I doing wrong?
Thanks in advance.