Currently I have a working WCF Service with the following App.Config endpoint
<services>
<service behaviorConfiguration="ServiceBehavior" name="ProxyWindowsService.HPCommands">
<endpoint address="" binding="basicHttpBinding" contract="ProxyWindowsService.HPCommandsInterface"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
<host>
<baseAddresses>
<add baseAddress="http://127.0.0.1:8004/ProxyService/HPCommands"/>
</baseAddresses>
</host>
</service>
</services>
Based on new requirements, we would need to open endpoints on additional ports. So I would like some address setup like this where I can route certain endpoints via certain ports
<baseAddresses>
<add baseAddress="http://127.0.0.1:8004/ProxyService/HPCommands/Command1" />
<add baseAddress="http://127.0.0.1:8005/ProxyService/HPCommands/Command2" />
<add baseAddress="http://127.0.0.1:8006/ProxyService/HPCommands/Command3" />
</baseAddresses>
However, I can not figure out how to modify my config and code to achieve multiple bound ports. Is this possible with WCF? I would think it should allow me to open multiple listeners