There is also a portRange property, which is set to 100 by default. If the
first address is already occupied, then discovery will try to bind to the
next one.

вт, 11 дек. 2018 г. в 12:14, Skollur <skol...@idbny.com>:

> I have following code in node1 ->
>         TcpDiscoverySpi discovery = new TcpDiscoverySpi();
>         discovery.setLocalAddress("192.2.2.1");
>         discovery.setLocalPort(new Integer("10800")));
>         cfg.setDiscoverySpi(discovery);
>
>
> and node 2 ->
>         TcpDiscoverySpi discovery = new TcpDiscoverySpi();
>         discovery.setLocalAddress("192.2.2.2");
>         discovery.setLocalPort(new Integer("10800")));
>         cfg.setDiscoverySpi(discovery);
>
>
> But I see node2 is starting in port 10801 and not 10800. How this is
> possible?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to