If there is a single physical server hosting multiple Pega nodes having "Stream" as one of the -DNodeType parameter then set the all the 4 prconfig entries on all such nodes where Stream Services are expected to run. All the 4 entries should point to the unique port number to avoid any port conflicts.
If there are multiple Pega nodes running on the same physical server where -DNodeType parameter for the nodes is set to any other type except "Stream" then set the below prconfig entry on all such nodes to avoid port conflict:
Eg:- If we have 3 nodes running on same physical server where "A" and "B" are using -DNodeType as "Stream" but "C" is of -DNodeType "webuser" then "A" and "B" needs to have the configuration mentioned in above example and "C" needs to only have below prconfig entry set to a non-conflicting port value :
The above prconfig entry is required to avoid conflict for a REST Service port that is used by Stream datasets on each of the node. As it is an OOTB REST Service, there is no way to stop the Service. Instead, it should be set to a non-conflicting pyPort as mentioned above.