1 Reply Latest reply on Apr 11, 2012 5:19 AM by Galder Zamarreño

    Unable to get hold of remote cache

    venkataratnam teki Newbie

                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!