You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Serg <se...@ardas.dp.ua> on 2021/03/25 17:07:16 UTC

Ignite-client can not properly connect with ignite-server

Hi All.

I have problem since update Ignite from 2.7.6 to 2.9.1 with connect to
server.

Precondition:
  *  several Ignite servers inside docker which run on different nodes and
discovered via staticIpFinder.
  *  java-ignite-client inside docker on separate node

Problem:
 When run client I see at logs



and application can not run because Ignite context  not initialized.

As I understand Client send to Server *Non-loopback local IP* which was
private ip of Docker. So Server can not connect to client via IP 172.17.0.4.

How can I configure correct public IP of client?
Ignite.setLocalHost() - did not help me







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

Re: Ignite-client can not properly connect with ignite-server

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Unfortunately, I can't see any logs here. Can you attach them as a file?

Have you checked out
https://www.gridgain.com/docs/latest/developers-guide/clustering/running-client-nodes-behind-nat#running-client-nodes-behind-nat
?

Regards,
-- 
Ilya Kasnacheev


чт, 25 мар. 2021 г. в 20:07, Serg <se...@ardas.dp.ua>:

> Hi All.
>
> I have problem since update Ignite from 2.7.6 to 2.9.1 with connect to
> server.
>
> Precondition:
>   *  several Ignite servers inside docker which run on different nodes and
> discovered via staticIpFinder.
>   *  java-ignite-client inside docker on separate node
>
> Problem:
>  When run client I see at logs
>
>
>
> and application can not run because Ignite context  not initialized.
>
> As I understand Client send to Server *Non-loopback local IP* which was
> private ip of Docker. So Server can not connect to client via IP
> 172.17.0.4.
>
> How can I configure correct public IP of client?
> Ignite.setLocalHost() - did not help me
>
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>