On any machine running Windows XP or later, for HTTP addresses other than port 80, you will need to launch the host process (or Visual Studio while testing or debugging) as an administrator. Instead of doing that every time, you can instruct Windows to reserve the port namespace for the user running the host. Do this using the
netsh.exe command-line utility. For example, to reserve the HTTP port 8002 on the local machine, you will need to run this command at a command prompt launched as an administrator:
netsh http add urlacl url=http://+:8002/user= "MachineOrDomain\UserName"
launch host process as administrator
Share this highlighthttp://www.safaribooksonline.com/a/programming-wcf-services/8247191/