I am starting a cluster through another computer via PuTTY, and I was wondering how to connect a local node started programmatically with C# to the cluster?
Right now, I am running into errors with what I have-- I start an ignite server remotely with the script bash ignite.shC:\..\\..\config\example-test-connection.xml *XML Config File* <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="cacheConfiguration"> <list> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="default"/> <property name="atomicityMode" value="ATOMIC"/> <property name="backups" value="1"/> </bean> </list> </property> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> <property name="addresses"> <list> <value>IpAddress:47500..47509</value> </list> </property> </bean> </property> </bean> </property> </bean> </beans> And the *program *I'm trying to run that creates a client node to connect with the cluster: var cfg = new IgniteClientConfiguration { Endpoints = new[] { "171.159.66.12" } }; try { using (IIgniteClient client = Ignition.StartClient(cfg)) { ICacheClient<int, string> cache = client.GetCache<int, string>("name"); cache.Put(1, "Hello World!"); Console.WriteLine("Added a value to the cache!"); } } catch(Exception ex) { Console.WriteLine(ex); } The *error(s) *I'm getting: System.AggregateException: Failed to establish Ignite thin client connection, examine inner exceptions for details. (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 171.159.66.12:10800) ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. 171.159.66.12:10800 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at Apache.Ignite.Core.Impl.Client.ClientSocket.Connect(IgniteClientConfiguration cfg, EndPoint endPoint, ILogger logger) at Apache.Ignite.Core.Impl.Client.ClientSocket..ctor(IgniteClientConfiguration clientConfiguration, EndPoint endPoint, String host, Nullable`1 version, Action`1 topVerCallback, Marshaller marshaller) at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket.Connect(SocketEndpoint endPoint) at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket.GetNextSocket() --- End of inner exception stack trace --- at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket.GetNextSocket() at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket.Connect() at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket..ctor(IgniteClientConfiguration config, Marshaller marsh) at Apache.Ignite.Core.Impl.Client.IgniteClient..ctor(IgniteClientConfiguration clientConfiguration) at Apache.Ignite.Core.Ignition.StartClient(IgniteClientConfiguration clientConfiguration) at IgniteTest.Program.Main(String[] args) in C:\Users\zk5gdcj\source\repos\Apache_Ignite\Testing\Getting_Started\IgniteTest\IgniteTest\Program.cs:line 85 -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/ -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/