code: public XComponentContext connect(String host, int port) throws BootstrapException {
          String unoConnectString = "uno:socket,host=" + host + ",port=" + port + ";urp;StarOffice.ComponentContext";
          return connect(unoConnectString);
      }
docs: Connects to an OOo server using the specified host and port for the
  socket and returns a component context for using the connection to the
  OOo server.
  
  @param host The host
  @param port The port
  @return The component context