title: Apache Ignite - Unable to Connect to local node
body: <p>I am trying to connect to a locally running Ignite Server (run via ignite.bat) from my Java App. The problem is strange! I am able to connect to all nodes running in VM Ware from windows 8. However without those VM ware Linux nodes running on the pc, I can't connect to the local running Ignite server. I am using 127.0.0.1 as an address in IP Finder but it says Failed to connect to any address from IP Finder. Here is my Java code -</p>
  
  <pre><code>TcpDiscoverySpi tcpDiscoverySpi = new TcpDiscoverySpi();
      TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
      List&lt;String&gt; addressList = new ArrayList&lt;&gt;();
      addressList.add("127.0.0.1:47500");
      addressList.add("192.168.25.1");
      addressList.add("192.168.1.101");
      addressList.add("192.168.56.1");
      addressList.add("192.168.10.1");
      addressList.add("localhost");
  
      ipFinder.setAddresses(addressList);
      tcpDiscoverySpi.setIpFinder(ipFinder);
      tcpDiscoverySpi.setLocalAddress("127.0.0.1");
  
      OptimizedMarshaller optimize = new OptimizedMarshaller();
      optimize.setRequireSerializable(false);
      IgniteConfiguration cfg = new IgniteConfiguration();
      cfg.setLocalHost("127.0.0.1");
  
      cfg.setClientMode(true);
      cfg.setPeerClassLoadingEnabled(false);
      cfg.setMarshaller(optimize);
      cfg.setMarshaller(optimize);
      cfg.setDiscoverySpi(tcpDiscoverySpi);
      Ignite ignite = Ignition.start(cfg);
  </code></pre>