async fn get_local_addr() -> Result<String, ServerFnError>
Server function to retrieve the local network address