You need to check the router is Internet access firstly, sometime, the router may block the camera to access Internet, you can check if the camera is in the whitelist of router or take a try to restart the router. Next, you need to ensure your phone is Internet access no matter your phone using cellular network or other WiFi network.