public ConnectorInterface clientConnect(){
		String host = "78.91.80.41";
		serverConnect();

		try {		
			Registry registry = LocateRegistry.getRegistry(host, 3050);
			clientSide = (ConnectorInterface) registry.lookup("Hello");
			clientSide.setOpponent(serverSide);

		}
		catch (NotBoundException nbe) {
			System.err.println("Ingen tjener er registrert " + nbe.getMessage());
			nbe.printStackTrace();
			clientSide = null;

		}
		catch (Exception e) {
			System.err.println("UPS");
			clientSide = null;
			e.printStackTrace();
		}
		System.out.println(clientSide);
		if(clientSide != null){
			return clientSide;
		}
		return serverSide;
	}