diff --git a/strike-client/src/main/java/strike/controller/Login.java b/strike-client/src/main/java/strike/controller/Login.java index 66a75a4..8698957 100644 --- a/strike-client/src/main/java/strike/controller/Login.java +++ b/strike-client/src/main/java/strike/controller/Login.java @@ -98,7 +98,14 @@ private void initialize() { sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); try { - socket = (SSLSocket) sslsocketfactory.createSocket("localhost", 4444); //s1 // Need to change this to the designated serverlist server. + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // This server needs to be running or else we cannot get the server list! + socket = (SSLSocket) sslsocketfactory.createSocket("115.146.90.37", 4440); + + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // To run locally, use this socket instead! + // socket = (SSLSocket) sslsocketfactory.createSocket("localhost", 4444); + socket.startHandshake(); } catch(IOException e) {