Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why is it that when I add the following prefix to my HTTP Listener "http://localhost:8080/" , the HTTP listener starts and works fine, but as soon as I type in the IP address for a prefix as follow "http://10.0.0.111:5555/", and the listener starts, the following exception is thrown: "Access is Denied". When I type in localhost, shouldn't localhost be the same as typing in the IP address?

Will this issue be resolved when starting the listener on a computer with an static IP address?
Posted

1 solution

Is your app running with elevated privilege?

Normal accounts cannot hook the Http pipeline without first making a reservation. It can be done programatically at install time. Ref:
.http://msdn.microsoft.com/en-us/library/Aa364673[^]
 
Share this answer
 
Comments
Andrew797 11-Mar-12 9:07am    
any help with this, since I have never heard of this? I don't even think I would know where to start searching on google for help with this topic

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900