You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2020/09/29 19:11:26 UTC

[incubator-nlpcraft] branch master updated: H2 server port changed from 9092 to 9093

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

sergeykamov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/master by this push:
     new 892df54  H2 server port changed from 9092 to 9093
892df54 is described below

commit 892df54ee2dbb174c57f277f9cba17b6a2c378d6
Author: Sergey Kamov <se...@apache.org>
AuthorDate: Tue Sep 29 22:11:15 2020 +0300

    H2 server port changed from 9092 to 9093
---
 .../src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala
index 5405840..87a40b1 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/db/SqlServer.scala
@@ -28,7 +28,8 @@ import org.h2.tools.Server
  * H2 database server. Starts standalone H2 TCP instance and loads up demo database from `northwind.sql`.
  */
 object SqlServer extends LazyLogging {
-    private final val H2_PORT: Int = 9092
+    // This post is not used according to https://www.wikiwand.com/en/List_of_TCP_and_UDP_port_numbers
+    private final val H2_PORT: Int = 9093
     private final val H2_BASEDIR = new File(System.getProperty("user.home"), "nlpcraft-examples/h2").getAbsolutePath
 
     private final val SRV_PARAMS = Seq(