Returns a "stub" for contacting a remote registry
on the specified host and port.
Returns:
remote registry stub
Parameters:
-
host - name of remote registry host
-
port - remote registry port
Throws:
-
RemoteException - if a remote error occurs
-
UnknownHostException - if unable to resolve given hostname