title: How to check port can be shared in WCF
body: <p>I have client-server app, which is using WCF port sharing feature for communication between each other. In case, when I installing both parts on the same machine I need to use the same port. The question is, how can I distinguish during installation, is some port is busy or used by another part of my app and can be shared.</p>
  
  <p>Any suggestions? Many thanks.</p>