def METHOD_NAME(self, port: int = 30000, daemon: bool = True) -> None:
    cmd = f"netserver -p {port} "
    if not daemon:
        cmd += " -D "
    self.node.execute(
        cmd,
        sudo=True,
        expected_exit_code=0,
        expected_exit_code_failure_message=f"fail to run {cmd}",
    )