Hi,
We would like to override the default port 10800. For this we have made the
below changes.
On client node
Ignition.setClientMode(true);
ClientConnectorConfiguration clientCfg = new ClientConnectorConfiguration();
clientCfg.setPort(10850);
IgniteConfiguration cfg = new
IgniteConfiguration().setClientConnectorConfiguration(clientCfg)
ignite = Ignition.start(cfg);
ignite.cluster().active(true);
and get the jdbc connection using
Connection conn =
DriverManager.getConnection("jdbc:ignite:thin://127.0.0.1:10850/");
On Ignite server
We didn't setup 10850 port in any of the xml except
<property name="discoverySpi">
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="localPort" value="48500"/>
<property name="communicationSpi">
<bean
class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
<property name="localPort" value="48100"/>
Do we have to setup the communication port 10850 in the xml also?
Please confirm.
Thanks & Regards,
Sriveena
"Confidentiality Notice: The contents of this email message and any attachments
are intended solely for the addressee(s) and may contain confidential and/or
privileged information and may be legally protected from disclosure. If you are
not the intended recipient of this message or their agent, or if this message
has been addressed to you in error, please immediately alert the sender by
reply email and then delete this message and any attachments. If you are not
the intended recipient, you are hereby notified that any use, dissemination,
copying, or storage of this message or its attachments is strictly prohibited."