Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a WCF project which is self hosted. My service is defined under host project in a separate .cs file. I build the host, it built correctly and ran successfully. But when I included client to connect with the host. it also built successfully.. But when I start debugging the output shows the following message with "AddressAlreadyInUse" exception.

"HTTP could not register URL http://+:8733/HelloIndigoService/. Another application has already registered this URL with HTTP.SYS";

So I changed the port number but it also showed the same result. I checked the list of processes from the task manager. Only a vshost.exe file in running because of visual studio is holding my project in running mode. If I close the solution it vanishes from the task manager.

What should I do now?
Posted

Uncheck the option "Start WCF Service Host when debugging another project in the same solution" ...
Hope it solves your problem
 
Share this answer
 

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