Unable to connect to my cameras and error message

If I’m connected to home WiFi where all the cameras are connected to then it’s fine. But when I leave my house, I get error message and can’t view live nor recorded videos. I still get notifications on motion. Please help