This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new c53feb997a IGNITE-20026 Java client: Remove port range limitation 
(#2353)
c53feb997a is described below

commit c53feb997a89392c5b396fffae66e516782a0d77
Author: ZhangJian He <[email protected]>
AuthorDate: Wed Jul 26 16:00:08 2023 +0800

    IGNITE-20026 Java client: Remove port range limitation (#2353)
---
 .../main/java/org/apache/ignite/internal/client/TcpClientChannel.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/modules/client/src/main/java/org/apache/ignite/internal/client/TcpClientChannel.java
 
b/modules/client/src/main/java/org/apache/ignite/internal/client/TcpClientChannel.java
index fc415dbebf..599e888332 100644
--- 
a/modules/client/src/main/java/org/apache/ignite/internal/client/TcpClientChannel.java
+++ 
b/modules/client/src/main/java/org/apache/ignite/internal/client/TcpClientChannel.java
@@ -473,8 +473,6 @@ class TcpClientChannel implements ClientChannel, 
ClientMessageHandler, ClientCon
 
         if (addr == null) {
             error = "At least one Ignite server node must be specified in the 
Ignite client configuration";
-        } else if (addr.getPort() < 1024 || addr.getPort() > 49151) {
-            error = String.format("Ignite client port %s is out of valid ports 
range 1024...49151", addr.getPort());
         }
 
         if (error != null) {

Reply via email to