Hi,
I have 2 laptops in my home network and both are connected throught Wifi...
On Node1:
I started the hotrod server using this command line
startServer.bat -r hotrod -c infinispan-config.xml
And, i have inserted an entry into this cache through a stand alone java program.. currently the cache has ONE key-value pair./..
From Node2:
I have a stand alone java class.. which gets the remote cache..
RemoteCacheManager rm = new RemoteCacheManager("192.168.1.14", 11222);
RemoteCache<String, String> cache = rm.getCache("cacheName");
String value = cache.get("key1");
System.out.println("Got...."+value);
But, i am getting this below exception
Caused by: java.net.ConnectException: Connection refused: no further information
I have checked the firewall on both nodes.. firewall is off.
Infinispan version i am using is 5.1.3 latest one.
Please help me out!
Reading the documentation often helps in these situations . Default bind address is 127.0.0.1, so you need to change that before it can be accessed remotely