Hi @jahnavi,
Does the iOS viewer app cannot discover the primary machine’s IP address?
If yes, do you have third party firewall software installed? Or VPN (Virtual Private Network active)?
For details, please check Troubleshooting -> Network Connection chapter in the user manual. https://forum.spacedesk.netuser-manual/