Wednesday, May 4, 2011

Why do you get Error in opening servicehost. System.ServiceModel.AddressAccessDeniedException?

Error in opening servicehost. System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:MyUri/ . Your process does not have access rights to this namespace. Net.HttpListenerException: Access is denied

I was using Windows 7 (64 bit), Open command prompt with admin privileges and execute following command that fixed the issue for me:
netsh http add urlacl url=http://+:80/MyUri user=DOMAIN\user

For more information look at the link:

No comments:

Post a Comment

Example code to connect node.js REST service with Eureka discovery service

Eureka is Spring based discovery service developed by Netflix. To know how Eureka is used at Netflix visit: