I want to run jGroups within a machine with more than one interface. Consider these two interfaces and two IPs:
ens256 -> 172.16.2.2
ens128 -> 192.168.1.2
I want to force my program to bind jGroups channel to ens256 with this command
java -jar my.jar -Djgroups.bind_addr=172.16.2.2
but in the result I'v got :
GMS: address=coordinator, cluster=test, physical address=192.168.1.2:7800