When you create a deployment package, you indicate the port to use as a client, and as a server, clicking in the Communication Manager icon at the deployment package level:

- deploy0.jpg (75.38 KiB) Viewed 5279 times
then first, you indicate which one you want to use as a client:

- deploy1.jpg (145.46 KiB) Viewed 5279 times
then which one as a server in the Advanced / Listener option for the listener service:

- deploy2.jpg (68.73 KiB) Viewed 5279 times
off course, in this example, I am deploying something that will be running in the server, hence, it have the server and client part. if you only deploying the client, you only need the first part, etc.