WCF/WF - Connection actively refused - Asked By karur krishna madhu on 25-Feb-14 05:34 AM
I have developed a wcf functionality as a dll and to host it i used console with the config info in that and using the base address url i added the service reference in the client web app. the problem is the service works fine but all of a sudden comes with an error "connection actively refused." i even checked the port no if it is in listening mode or not. its perfect. but i don't understand why this intermittent error comes up with .
<service name="WcfServiceLibrary.MathService">
<endpoint address="" binding="basicHttpBinding" contract="WcfServiceLibrary.IMathService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8900/WcfServiceLibrary/LogisticsService/" />
</baseAddresses>
</host>
</service>
</services>