Skip to content

Commit

Permalink
DB server to tcp
Browse files Browse the repository at this point in the history
  • Loading branch information
mrin9 committed Oct 19, 2018
1 parent a7b36c1 commit 0d4c28e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion database/src/main/java/com/app/DatabaseService.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public static void initDB() {

try {
getDBConnection();
dbWebServer = Server.createWebServer("-webAllowOthers","-webPort","9000").start();
//dbWebServer = Server.createWebServer("-webPort","9000", "-webAllowOthers").start();
dbWebServer = Server.createTcpServer("-tcpPort", "9092", "-tcpAllowOthers").start();
}
catch (SQLException e) {
e.printStackTrace();
Expand Down

0 comments on commit 0d4c28e

Please sign in to comment.