On Docker (docker run -it --net=host --expose=8098 -p 47100:8098 [other options] apacheignite/ignite-docker), I started ignite-node(server mode) and I created cache (replicated) on this node.
Now from Intelij Idea I created another ignite-node(client mode) and I want to connect(find) node which is on docker,for getting already created cache.
Note:docker is configured to use the default machine with IP 192.168.99.100
On Ignitation start brings 'Failed to connect ' error.
My IntelliJ Ignite config is:
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="localPort" value="47100"/>
<!-- Setting up IP finder for this cluster -->
<property name="ipFinder">
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
<property name="shared" value="true"/>
<property name="addresses">
<list>
<!--
Addresses and port range of the nodes from the first
cluster.
127.0.0.1 can be replaced with actual IP addresses or
host names. Port range is optional.
-->
<value>192.168.99.100:8098</value>
</list>
</property>
</bean>
</property>
</bean>
</property>