How to set outbound port for Hazelcast Java Client

313 views
Skip to first unread message

Ole Tjensvold Johannessen

unread,
Aug 28, 2015, 4:34:53 AM8/28/15
to Hazelcast
Hi

I don't understand how to set the outbound port for Hazelcast Java Client (hazelcast-client-new-3.5.1.jar) ?

Jaromir Hamala

unread,
Aug 28, 2015, 4:41:45 AM8/28/15
to Hazelcast
Hi Ole,

the outgoing port on a client side is selected by your operating system from ephemeral range. See this for details: http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html

Cheers,
Jaromir

Ole Tjensvold Johannessen

unread,
Aug 28, 2015, 5:04:47 AM8/28/15
to haze...@googlegroups.com
Thanks for the answer :-)

I understand. So there is no way of setting the outbound port explicitly as in the server config: com.hazelcast.config.NetworkConfig.setOutboundPorts() ?


--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/90861465-769a-454d-abd6-173dbc854e7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jaromir Hamala

unread,
Aug 28, 2015, 5:42:08 AM8/28/15
to Hazelcast
I'm afraid there is no such option in ClientNetworkConfig. May I kindly ask you to create a feature request in a form of GitHub ticket?

Cheers,
Jaromir

Sertuğ Kaya

unread,
Sep 19, 2017, 7:03:25 AM9/19/17
to Hazelcast
Hello Ole;

Good news is this is added in 3.9, please see the Outpound Ports section for clients: http://docs.hazelcast.org/docs/latest-development/manual/html/Hazelcast_Clients/Java_Client/Configuration/Client_Network.html

Best,

Ceyhan Kasap

unread,
Jun 13, 2018, 8:26:47 AM6/13/18
to Hazelcast
Hi Sertug,

Do not we have this option for .net client ?

java client (com.hazelcast.client.config.ClientNetworkConfig ) has this option as you say...

But I can not see it .Net client (Hazelcast.Config.ClientNetworkConfig) ?

19 Eylül 2017 Salı 14:03:25 UTC+3 tarihinde Sertuğ Kaya yazdı:

Sertuğ Kaya

unread,
Jun 13, 2018, 11:44:44 AM6/13/18
to Hazelcast
Yes, it might be missing in .net client for now. If so, can you please create a github issue in .net client repo?

Best
Reply all
Reply to author
Forward
0 new messages