Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <appSettings >

    <add key="FLBServicePort"  value="8101"/>
    <!--<add key ="DBMachineName" value ="acer-pc"/>-->
    <add key ="DBMachineName" value ="desk99"/>
    <add key ="LogPath" value ="C:\Program Files\ChubbAlba\FLB Service"/>

  </appSettings>

</configuration>
Posted
Updated 20-May-14 1:28am
v3

1 solution

You can use the same port for endless WCF services, if you define the endpoint in the right way.
http://wcfservices.com:8101/service1
http://wcfservices.com:8101/service2

I wrote a little tip about how to host miltiple WCF services under the same Windows Service, using the same port for all the WCF services...
You may be interested: Windows Service to Host Multiple WCF Services[^]
 
Share this answer
 
Comments
Nawabpasha 20-May-14 7:20am    
Thank you for the Answer , can you help me to solve one port listening a service twice, which means port listening to call again same call came with out finishing it, can it's listen, for me it's throwing exception Connection could not be made because the target machine did not respond actively
Kornfeld Eliyahu Peter 20-May-14 7:23am    
That message is about problem to connect to the service at all. It can be that your service does not run at all, or runs on the wrong port, or you have no authorized access to it...

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