4445464748495051525354
* * @param port * The port to listen to. */ public HttpServer(int port) { new Command(); try { server = new ServerSocket(port); Log.info("Server bound on port: " + server.getLocalPort()); Runtime.getRuntime().addShutdownHook(new Thread() { @Override