private void startSever(){
        ServerSocket welcomeSocket;
        Socket connectionSocket;
        int counter = 0;

        try {
            welcomeSocket = new ServerSocket(PORT);
            console.log("Listening Port " + PORT);
            while (true) {
                
                    connectionSocket = welcomeSocket.accept();
                    
        System.out.println(ChatServer.getSize());
        
        if(ChatServer.getSize() < BENUTZERLIMUIT){
           
                    TCP t = new TCP(connectionSocket, console);
                    thread.add(t);
                    t.start();
        }else{
            connectionSocket.close();
        }
        
        
                
            }
        } catch (IOException e) {
            System.err.println(e.toString());
        }
    }