You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ak47 <ar...@cerner.com> on 2018/04/04 13:05:57 UTC

Re: Remote node ID is not as expected - New Node not coming up

@ezhuravlev
how can we set different localport?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Remote node ID is not as expected - New Node not coming up

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

You can configure TcpCommunicationSpi:

        TcpCommunicationSpi communicationSpi = new TcpCommunicationSpi();
        communicationSpi.setLocalAddress(localAddress);
        communicationSpi.setLocalPort(cc.getCommunicationLocalPort());
        communicationSpi.setLocalPortRange(cc.getPortRange());

Please take a look at documentation:

https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.html#setLocalPort-int-

Best Regards,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/