private void stopServer(){
  Socket clientSocket=null;
  try {
    clientSocket=new Socket(this.host,this.port);
  }
 catch (  Exception e) {
    throw new ContainerException("Error opening socket to [" + this.host + ":"+ this.port+ "]",e);
  }
 finally {
    try {
      if (clientSocket != null) {
        clientSocket.close();
      }
    }
 catch (    IOException e) {
      throw new ContainerException("Cannot close client socket",e);
    }
  }
}

private void stopServer ( ) { Socket clientSocket = null ; try { clientSocket = new Socket ( this . host , this . port ) ; } catch ( Exception e ) { throw new ContainerException ( "Error opening socket to [" + this . host + ":" + this . port + "]" , e ) ; } finally { try { if ( clientSocket != null ) { clientSocket . close ( ) ; } } catch ( IOException e ) { throw new ContainerException ( "Cannot close client socket" , e ) ; } } }
stops the running server .
