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.
Any suggestions? Many thanks.