remote host and port from template rest api docs