Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
I have a WCF service with wsDualHttpBinding and hosted in IIS. Since sometime the service stoped to run because of the exception:

HTTP could not register URL http://+:8092/MyService/ because TCP port 80 is being used by another application.

If that port some other application using in client machine this issue is coming.some times if that port not using also getting same issue.
There are many machines that can start this service, but the most required (customer's) machine cannot. I saw many posts in this site or anywhere else, but cannot find a solution. I never see the post like "It helped me". I am stuck several days already, help please.

Server side is not a problem,Problem is in client side.

Any one could you please share solution about this issue.

What I have tried:

I was tried to change clientBaseAddress address dynamically.
When i was try to change the clientBaseAddress; the response is not coming.
And i was change binding from wsDualHttpBinding to etTcpBinding, but this one also not worked.
Posted
Updated 10-Dec-18 20:52pm
v7
Comments
Nathan Minier 12-Dec-18 9:53am    
That makes no sense whatsoever; is your WCF service running a push model rather than a pull one? Otherwise the client's shouldn't need to bind a listener to a port.

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