You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Sebastien DIAZ <se...@gmail.com> on 2016/06/07 13:43:52 UTC
IP and hosts
Actually you have two notions as localaddr and addr.
The local adress transformed in InetAdress (when the host is set) is
extracted from the code InetAddress.getByName(hostName).
that it is wrong when the host is set by an ip.
In case of an ip, the localaddr transformation should be
InetAddress.getByAddress(ipAddr)
As explained in the bug
https://issues.apache.org/jira/browse/IGNITE-3221
Regards
S DIAZ
Re: IP and hosts
Posted by Yakov Zhdanov <yz...@apache.org>.
Sebastian, can you please provide a pull request or a patch so I can get
better understanding of the idea. What IP do you suggest to use?
--Yakov
2016-06-07 9:43 GMT-04:00 Sebastien DIAZ <se...@gmail.com>:
> Actually you have two notions as localaddr and addr.
>
> The local adress transformed in InetAdress (when the host is set) is
> extracted from the code InetAddress.getByName(hostName).
>
> that it is wrong when the host is set by an ip.
> In case of an ip, the localaddr transformation should be
> InetAddress.getByAddress(ipAddr)
>
> As explained in the bug
> https://issues.apache.org/jira/browse/IGNITE-3221
>
> Regards
>
> S DIAZ
>