Hi @rainbowswishess,
Could you please check the following:
1. Check on your iOS Viewer Settings -> Privacy -> Local Network, if spacedesk is on the list and enabled?
2. Quickly try to switch OFF both cellular and Wi-Fi on your iPhone, then the permission dialog popped up and re-set the permission.
For further assistance, please also refer to the Troubleshooting -> Network Connection chapter in the user manual https://forum.spacedesk.netuser-manual/#item_489.