public void run() {
        try {
            Main.debug("[LoginServer]", "Hopped on port " + this.port + "!");
            this.socketServer = new ServerSocket(this.port);
            this.listening = true;

            while (listening) {
                Socket socket = this.socketServer.accept();
                //if(!Main.getip(socket).equals("127.0.0.1")){
                debug("[LoginServer] Client connection from " + Main.getip(socket));
                LoginServerConnection socketConnection = new LoginServerConnection(socket, this);
                socketConnection.start();
                this.clientConnections.add(socketConnection);
                //}
            };
        }
        catch (Exception e) {
            debug(e.getMessage());
        }
    }