diff --git a/html/WordSearchGame.js b/html/WordSearchGame.js index 277f6cf..42e98b2 100644 --- a/html/WordSearchGame.js +++ b/html/WordSearchGame.js @@ -57,7 +57,7 @@ class UserEvent { var connection = null; -serverUrl = "ws://" + window.location.hostname +":9880"; +serverUrl = "ws://" + window.location.hostname +":9106"; //9880 for locoal //9106 for website // Create the connection with the server diff --git a/src/main/java/uta/cse3310/App.java b/src/main/java/uta/cse3310/App.java index 56e8922..43c4c78 100644 --- a/src/main/java/uta/cse3310/App.java +++ b/src/main/java/uta/cse3310/App.java @@ -440,7 +440,7 @@ public static void main(String[] args) { //9880 or 9106 for Websocket String HttpPort = System.getenv("HTTP_PORT"); - int port = 9080; + int port = 9006; if (HttpPort!=null) { port = Integer.valueOf(HttpPort); } @@ -449,7 +449,7 @@ public static void main(String[] args) { H.start(); System.out.println("http Server started on port: " + port); - port = 9880; + port = 9106; String WSPort = System.getenv("WEBSOCKET_PORT"); if (WSPort!=null) { port = Integer.valueOf(WSPort);