CalcRequest r = new CalcRequest(); try { r.startServer(3535); } catch (Exception e) { System.out.println("Unable to start server"); }