@Override
    public void run()
    {
        try
        {
            startServer();
        }
        catch(IOException e)
        {
            System.out.println("Can't listen on port " + portNum);
        }
    }