Can you raise this issue on the Hazelcast Google group and ask whether
there is any rationale behind ignoring the port when 127.0.0.1 is used?


On Thu, Sep 4, 2014 at 3:16 PM, Kasun Gajasinghe <[email protected]> wrote:

> Hi,
>
> Hazelcast 3.2.3, which will be shipped with Carbon 4.3.0, will not work if
> you set localhost/127.0.0.1 as the localMemberHost. Instead, you need to
> set the machine's local IP address. We need to test further to see whether
> this works if we set hostnames instead of IP address in this version.
> Otherwise, this is an annoyance when testing.
>
> I debugged the code, and this looks like a bug in Hazelcast. See the
> relevant method that creates the hz local member address [1]. It ignores
> port if the IP is localhost/127.0.0.1. This was not the case in Hz 3.0.1.
>
> [1]
> http://grepcode.com/file/repo1.maven.org/maven2/com.hazelcast/hazelcast/3.2-RC1/com/hazelcast/instance/DefaultAddressPicker.java#DefaultAddressPicker.getPublicAddress%28com.hazelcast.config.Config%2Cint%29
>
> Thanks,
> KasunG
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919 blog: **http://blog.afkham.org*
<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*
<http://twitter.com/afkham_azeez>
* linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to