Ensure that you are binding to the correct IP address and that there are no iptables/firewall rules blocking traffic.
It would help if you posted your jgroups.xml and log files for both machines.
I attached the jgroups.xml file( it is the same format for mach2), pls check.
jgroups.tcp.port: 7800(mach1) and 7801(mach2)
jgroups.bind_addr-<ip> and <ip2> for mach1 and mach2.
Please respond if any issues with xml files. I am using infinispan 9.0.0.Final version.
jgroups.xml.zip 1,016 bytes
I was able to test out the TCP Server in java vs TCP Client on Mach1 and Mach2 (with different IP on LAN).
Message was transmitted successfully.
Whereas for the infinispan Node Process launched with IP1 and port1 and Ip2 & port2 is not working.
Is it possible to debug the processes ?
What sections of the jgroups needs to checked for Unicast TCP replication in dist cache? please advise.